Clock used to measure performance of algoritms. Behaves similarly to QTime (QT). More...
#include <clock.h>
Public Member Functions | |
| Clock () | |
| int | elapsed () |
| int | msecsTo (const Clock &t) const |
| int | restart () |
| void | start () |
Static Public Member Functions | |
| static Clock | currentTime () |
Protected Member Functions | |
| int | elapsedAux (bool restart) |
Protected Attributes | |
| timeval | tini |
Clock used to measure performance of algoritms. Behaves similarly to QTime (QT).
| mt::Clock::Clock | ( | ) | [inline] |
| static Clock mt::Clock::currentTime | ( | ) | [inline, static] |
| int mt::Clock::elapsed | ( | ) | [inline] |
| int mt::Clock::elapsedAux | ( | bool | restart | ) | [inline, protected] |
| int mt::Clock::msecsTo | ( | const Clock & | t | ) | const [inline] |
| int mt::Clock::restart | ( | ) | [inline] |
| void mt::Clock::start | ( | void | ) | [inline] |
timeval mt::Clock::tini [protected] |