|
MASA-Core
|
#include <Timer.hpp>
Classes | |
| struct | stat_t |
Public Member Functions | |
| Timer () | |
| virtual | ~Timer () |
| void | init () |
| int | createEvent (string name) |
| float | eventRecord (int event) |
| float | printStatistics (FILE *file=stdout) |
| float | totalTime () |
| bool | intervalElapsed (float interval) |
Static Public Member Functions | |
| static float | getGlobalTime () |
Static Private Member Functions | |
| static float | getElapsedTime (timeval *end_time, timeval *start_time) |
Private Attributes | |
| bool | hasEvent |
| timeval | previousEvent |
| timeval | repeatedEvent |
| timeval | intervalEvent |
| timeval | startEvent |
| vector< stat_t > | stats |
Static Private Attributes | |
| static timeval | staticEvent |
| static bool | hasStaticEvent = false |
| Timer::Timer | ( | ) |
| Timer::~Timer | ( | ) | [virtual] |
| int Timer::createEvent | ( | string | name | ) |
| float Timer::eventRecord | ( | int | event | ) |
| float Timer::getElapsedTime | ( | timeval * | end_time, |
| timeval * | start_time | ||
| ) | [static, private] |
| float Timer::getGlobalTime | ( | ) | [static] |
| void Timer::init | ( | ) |
| bool Timer::intervalElapsed | ( | float | interval | ) |
| float Timer::printStatistics | ( | FILE * | file = stdout | ) |
| float Timer::totalTime | ( | ) |
bool Timer::hasEvent [private] |
bool Timer::hasStaticEvent = false [static, private] |
timeval Timer::intervalEvent [private] |
timeval Timer::previousEvent [private] |
timeval Timer::repeatedEvent [private] |
timeval Timer::startEvent [private] |
timeval Timer::staticEvent [static, private] |
vector<stat_t> Timer::stats [private] |
1.7.6.1