perf_timer: add a way to get and reset the current time
This commit is contained in:
@@ -51,8 +51,8 @@ public:
|
||||
~PerformanceTimer();
|
||||
void pause();
|
||||
void resume();
|
||||
|
||||
uint64_t value() const { return ticks; }
|
||||
void reset();
|
||||
uint64_t value() const;
|
||||
|
||||
protected:
|
||||
uint64_t ticks;
|
||||
|
||||
Reference in New Issue
Block a user