diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-03-04 21:22:51 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-03-04 21:22:51 +0200 |
commit | a28237c9cacb074216b1ee1db40da32acde3acd0 (patch) | |
tree | ef8341e9821ba4d251bf588bd8b3adf148c4c528 /src/common/perf_timer.h | |
parent | Merge pull request #5096 (diff) | |
parent | performance_tests: better stats, and keep track of timing history (diff) | |
download | monero-a28237c9cacb074216b1ee1db40da32acde3acd0.tar.xz |
Merge pull request #5102
1eef0565 performance_tests: better stats, and keep track of timing history (moneromooo-monero)
Diffstat (limited to 'src/common/perf_timer.h')
-rw-r--r-- | src/common/perf_timer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/perf_timer.h b/src/common/perf_timer.h index d859cf576..5203da205 100644 --- a/src/common/perf_timer.h +++ b/src/common/perf_timer.h @@ -53,6 +53,7 @@ public: void resume(); void reset(); uint64_t value() const; + operator uint64_t() const { return value(); } protected: uint64_t ticks; |