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
commit be625a95af
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
2 changed files with 41 additions and 9 deletions

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;