aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/monlib/counters/timer_ut.cpp
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/monlib/counters/timer_ut.cpp
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/monlib/counters/timer_ut.cpp')
-rw-r--r--library/cpp/monlib/counters/timer_ut.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/monlib/counters/timer_ut.cpp b/library/cpp/monlib/counters/timer_ut.cpp
index cdd8bc494d..c5cd07e89d 100644
--- a/library/cpp/monlib/counters/timer_ut.cpp
+++ b/library/cpp/monlib/counters/timer_ut.cpp
@@ -16,8 +16,8 @@ public:
int Value_;
};
-Y_UNIT_TEST_SUITE(TTimerTest) {
- Y_UNIT_TEST(RecordValue) {
+Y_UNIT_TEST_SUITE(TTimerTest) {
+ Y_UNIT_TEST(RecordValue) {
TTimerNs timerNs(1ns, 1s);
UNIT_ASSERT(timerNs.RecordValue(10us));
@@ -36,7 +36,7 @@ Y_UNIT_TEST_SUITE(TTimerTest) {
UNIT_ASSERT_DOUBLES_EQUAL(snapshot.StdDeviation, 0.0, 1e-6);
}
- Y_UNIT_TEST(Measure) {
+ Y_UNIT_TEST(Measure) {
TTimerNs timer(1ns, 1s);
timer.Measure([]() {
Sleep(TDuration::MilliSeconds(1));
@@ -49,7 +49,7 @@ Y_UNIT_TEST_SUITE(TTimerTest) {
UNIT_ASSERT_DOUBLES_EQUAL(snapshot.StdDeviation, 0.0, 1e-6);
}
- Y_UNIT_TEST(TimerScope) {
+ Y_UNIT_TEST(TimerScope) {
TTimerUs timer(1us, 1000s);
{
TTimerScope<TTimerUs> scope(&timer);
@@ -63,7 +63,7 @@ Y_UNIT_TEST_SUITE(TTimerTest) {
UNIT_ASSERT_DOUBLES_EQUAL(snapshot.StdDeviation, 0.0, 1e-6);
}
- Y_UNIT_TEST(TimerScopeWithCallback) {
+ Y_UNIT_TEST(TimerScopeWithCallback) {
TCallback callback(0);
TTimerUs timer(1us, 1000s);
{