Index: src/libchcore/TSimpleTimer.h =================================================================== diff -u -N -r9b8cccbee0fcfeca28a112cc0253a7641f73f74f -r320c4eb6ba3a38dcd6fbda6a9a12a8350a153e41 --- src/libchcore/TSimpleTimer.h (.../TSimpleTimer.h) (revision 9b8cccbee0fcfeca28a112cc0253a7641f73f74f) +++ src/libchcore/TSimpleTimer.h (.../TSimpleTimer.h) (revision 320c4eb6ba3a38dcd6fbda6a9a12a8350a153e41) @@ -30,12 +30,15 @@ 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 void Reset(); + bool IsRunning() const; unsigned long long GetTotalTime() const { return m_ullTotalTime; } unsigned long long GetLastTimestamp() const { return m_ullLastTime; }