aboutsummaryrefslogtreecommitdiffstats
path: root/util/system/hp_timer.cpp
diff options
context:
space:
mode:
authorDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:50:17 +0300
commit4b11037e5a7d071c63e3c966199fe7102e6462e4 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /util/system/hp_timer.cpp
parent17e20fa084178ddcb16255f974dbde74fb93608b (diff)
downloadydb-4b11037e5a7d071c63e3c966199fe7102e6462e4.tar.gz
Restoring authorship annotation for Daniil Cherednik <dcherednik@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/hp_timer.cpp')
-rw-r--r--util/system/hp_timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/system/hp_timer.cpp b/util/system/hp_timer.cpp
index 8121e8bce0..e4c3f21e6b 100644
--- a/util/system/hp_timer.cpp
+++ b/util/system/hp_timer.cpp
@@ -112,7 +112,7 @@ void NHPTimer::GetTime(STime* pTime) noexcept {
double NHPTimer::GetTimePassed(STime* pTime) noexcept {
STime old(*pTime);
- *pTime = GetCycleCount();
+ *pTime = GetCycleCount();
return GetSeconds(*pTime - old);
}