diff options
author | Vlad Yaroslavlev <vladon@vladon.com> | 2022-02-10 16:46:23 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:23 +0300 |
commit | 706b83ed7de5a473436620367af31fc0ceecde07 (patch) | |
tree | 103305d30dec77e8f6367753367f59b3cd68f9f1 /util/datetime/cputimer.h | |
parent | 918e8a1574070d0ec733f0b76cfad8f8892ad2e5 (diff) | |
download | ydb-706b83ed7de5a473436620367af31fc0ceecde07.tar.gz |
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 1 of 2.
Diffstat (limited to 'util/datetime/cputimer.h')
-rw-r--r-- | util/datetime/cputimer.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/util/datetime/cputimer.h b/util/datetime/cputimer.h index 7d38d5bdb3..eae2f535ad 100644 --- a/util/datetime/cputimer.h +++ b/util/datetime/cputimer.h @@ -3,7 +3,7 @@ #include "base.h" #include <util/system/rusage.h> -#include <util/generic/string.h> +#include <util/generic/string.h> #include <util/stream/str.h> class TTimer { @@ -72,7 +72,7 @@ public: ui64 GetCycleCount() const; }; -TString FormatCycles(ui64 cycles); +TString FormatCycles(ui64 cycles); class TFormattedPrecisionTimer { private: @@ -88,7 +88,7 @@ public: class TFuncTimer { public: TFuncTimer(const char* func); - ~TFuncTimer(); + ~TFuncTimer(); private: const TInstant Start_; @@ -97,7 +97,7 @@ private: class TFakeTimer { public: - inline TFakeTimer(const char* = nullptr) noexcept { + inline TFakeTimer(const char* = nullptr) noexcept { } }; @@ -109,14 +109,14 @@ public: class TTimeLogger { private: - TString Message; + TString Message; bool Verbose; bool OK; time_t Begin; ui64 BeginCycles; public: - TTimeLogger(const TString& message, bool verbose = true); + TTimeLogger(const TString& message, bool verbose = true); ~TTimeLogger(); void SetOK(); |