Revert b3Clock changes and use reset method instead.

This commit is contained in:
Benjamin Ellenberger
2017-06-04 20:39:10 +02:00
parent cd153eb6a5
commit b5a80a08aa
3 changed files with 31 additions and 51 deletions

View File

@@ -13,16 +13,13 @@ public:
~b3Clock();
/// Resets the initial reference time.
void reset();
/// Resets the initial reference time. If zeroReference is true, will set reference to absolute 0.
void reset(bool zeroReference=false);
/// Returns the time in ms since the last call to reset or since
/// the b3Clock was created.
unsigned long int getTimeMilliseconds();
/// Gets the system time in milliseconds
unsigned long int getSystemTimeMilliseconds();
/// Returns the time in us since the last call to reset or since
/// the Clock was created.
unsigned long long int getTimeMicroseconds();