mirror of
https://github.com/monero-project/monero.git
synced 2025-08-13 11:45:36 -04:00
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:
commit
be625a95af
2 changed files with 41 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue