diff options
author | mvel <mvel@yandex-team.ru> | 2022-02-10 16:45:41 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:41 +0300 |
commit | 43f5a35593ebc9f6bcea619bb170394ea7ae468e (patch) | |
tree | e98df59de24d2ef7c77baed9f41e4875a2fef972 /util/system/datetime.h | |
parent | bd30392c4cc92487950adc375c07adf52da1d592 (diff) | |
download | ydb-43f5a35593ebc9f6bcea619bb170394ea7ae468e.tar.gz |
Restoring authorship annotation for <mvel@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/system/datetime.h')
-rw-r--r-- | util/system/datetime.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/util/system/datetime.h b/util/system/datetime.h index d3982a047c..aa009974e0 100644 --- a/util/system/datetime.h +++ b/util/system/datetime.h @@ -17,14 +17,14 @@ /// Current time in microseconds since epoch ui64 MicroSeconds() noexcept; -/// Current time in milliseconds since epoch -inline ui64 MilliSeconds() { - return MicroSeconds() / ui64(1000); -} -/// Current time in milliseconds since epoch (deprecated, use MilliSeconds instead) -inline ui64 millisec() { - return MilliSeconds(); -} +/// Current time in milliseconds since epoch +inline ui64 MilliSeconds() { + return MicroSeconds() / ui64(1000); +} +/// Current time in milliseconds since epoch (deprecated, use MilliSeconds instead) +inline ui64 millisec() { + return MilliSeconds(); +} /// Current time in seconds since epoch ui32 Seconds() noexcept; ///Current thread time in microseconds |