diff options
author | cobat <cobat@yandex-team.ru> | 2022-02-10 16:49:07 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:07 +0300 |
commit | e486e109b08823b61996f2154f0bc6b7c27a4af4 (patch) | |
tree | cb98553f871fe96452fd02bd46a1a4e0cf165844 /util/system/hp_timer.h | |
parent | 85e7b8b43a12f69b4721aee71dea28491c9bd503 (diff) | |
download | ydb-e486e109b08823b61996f2154f0bc6b7c27a4af4.tar.gz |
Restoring authorship annotation for <cobat@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'util/system/hp_timer.h')
-rw-r--r-- | util/system/hp_timer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/util/system/hp_timer.h b/util/system/hp_timer.h index 0a4c252ec2..e9ab10ec26 100644 --- a/util/system/hp_timer.h +++ b/util/system/hp_timer.h @@ -4,13 +4,13 @@ namespace NHPTimer { using STime = i64; - // May delay for ~50ms to compute frequency + // May delay for ~50ms to compute frequency double GetSeconds(const STime& a) noexcept; - // Returns the current time + // Returns the current time void GetTime(STime* pTime) noexcept; - // Returns the time passed since *pTime, and writes the current time into *pTime. + // Returns the time passed since *pTime, and writes the current time into *pTime. double GetTimePassed(STime* pTime) noexcept; - // Get TSC frequency, may delay for ~50ms to compute frequency + // Get TSC frequency, may delay for ~50ms to compute frequency double GetClockRate() noexcept; // same as GetClockRate, but in integer ui64 GetCyclesPerSecond() noexcept; |