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
commit75abffb472365d28bd0a019db1a54cb32a6100dd (patch)
tree09a7f042da3da3e074e6dd6f7e5305a92eb2321a /library/cpp/testing
parentb228f91bb45c3cb95fcd861c424bb3de0fd356f2 (diff)
downloadydb-75abffb472365d28bd0a019db1a54cb32a6100dd.tar.gz
Restoring authorship annotation for <sskvor@yandex-team.ru>. Commit 1 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 21551ad0dd..96e80b038a 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 cdb05c19db..3c533ec52f 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 f42be80698..d4e6db0ee9 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(