Merge pull request #4954

93c59b29 perf_timer: check allowed categories before logging (moneromooo-monero)
6a507dab perf_timer: add a way to get and reset the current time (moneromooo-monero)
c1581a5b perf_timer: only log to file (moneromooo-monero)
This commit is contained in:
Riccardo Spagni
2019-01-06 20:39:29 +02:00
2 changed files with 41 additions and 9 deletions
+2 -2
View File
@@ -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;