diff options
author | sskvor <sskvor@yandex-team.ru> | 2022-02-10 16:48:04 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:04 +0300 |
commit | 10ade5dcb952a8fae61f734485641a8409e1c545 (patch) | |
tree | b222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/testing | |
parent | 75abffb472365d28bd0a019db1a54cb32a6100dd (diff) | |
download | ydb-10ade5dcb952a8fae61f734485641a8409e1c545.tar.gz |
Restoring authorship annotation for <sskvor@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/testing')
-rw-r--r-- | library/cpp/testing/benchmark/bench.h | 12 | ||||
-rw-r--r-- | library/cpp/testing/benchmark/dummy.cpp | 16 | ||||
-rw-r--r-- | library/cpp/testing/benchmark/ya.make | 2 |
3 files changed, 15 insertions, 15 deletions
diff --git a/library/cpp/testing/benchmark/bench.h b/library/cpp/testing/benchmark/bench.h index 96e80b038a..21551ad0dd 100644 --- a/library/cpp/testing/benchmark/bench.h +++ b/library/cpp/testing/benchmark/bench.h @@ -4,7 +4,7 @@ #include <util/system/types.h> #include <utility> - + namespace NBench { namespace NCpu { struct TParams { @@ -47,11 +47,11 @@ namespace NBench { : : "memory"); } -#elif defined(_MSC_VER) - Y_FORCE_INLINE void Clobber() { - _ReadWriteBarrier(); - } - +#elif defined(_MSC_VER) + Y_FORCE_INLINE void Clobber() { + _ReadWriteBarrier(); + } + #else Y_FORCE_INLINE void Clobber() { } diff --git a/library/cpp/testing/benchmark/dummy.cpp b/library/cpp/testing/benchmark/dummy.cpp index 3c533ec52f..cdb05c19db 100644 --- a/library/cpp/testing/benchmark/dummy.cpp +++ b/library/cpp/testing/benchmark/dummy.cpp @@ -1,8 +1,8 @@ -#include "bench.h" - -namespace NBench { - namespace NPrivate { - void UseCharPointer(volatile const char*) { - } - } -} +#include "bench.h" + +namespace NBench { + namespace NPrivate { + void UseCharPointer(volatile const char*) { + } + } +} diff --git a/library/cpp/testing/benchmark/ya.make b/library/cpp/testing/benchmark/ya.make index d4e6db0ee9..f42be80698 100644 --- a/library/cpp/testing/benchmark/ya.make +++ b/library/cpp/testing/benchmark/ya.make @@ -7,7 +7,7 @@ OWNER( SRCS( bench.cpp - dummy.cpp + dummy.cpp ) PEERDIR( |