Index: src/libchcore/TSimpleTimer.h =================================================================== diff -u -r9b8cccbee0fcfeca28a112cc0253a7641f73f74f -r5693271a6736f524997e3951fc7b7b6323bc6447 --- src/libchcore/TSimpleTimer.h (.../TSimpleTimer.h) (revision 9b8cccbee0fcfeca28a112cc0253a7641f73f74f) +++ src/libchcore/TSimpleTimer.h (.../TSimpleTimer.h) (revision 5693271a6736f524997e3951fc7b7b6323bc6447) @@ -30,12 +30,17 @@ TSimpleTimer(bool bAutostart = false, const ITimestampProviderPtr& spTimestampProvider = ITimestampProviderPtr()); ~TSimpleTimer(); + void Init(unsigned long long ullTotalTime); + void Start(); unsigned long long Stop(); // returns total time unsigned long long Tick(); // returns current timestamp + unsigned long long Checkpoint(); // returns current total time and restarts the timer + void Reset(); + bool IsRunning() const; unsigned long long GetTotalTime() const { return m_ullTotalTime; } unsigned long long GetLastTimestamp() const { return m_ullLastTime; }