aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing
diff options
context:
space:
mode:
authorsskvor <sskvor@yandex-team.ru>2022-02-10 16:48:04 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:04 +0300
commit10ade5dcb952a8fae61f734485641a8409e1c545 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/testing
parent75abffb472365d28bd0a019db1a54cb32a6100dd (diff)
downloadydb-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.h12
-rw-r--r--library/cpp/testing/benchmark/dummy.cpp16
-rw-r--r--library/cpp/testing/benchmark/ya.make2
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(