aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace/mon
diff options
context:
space:
mode:
authorAnton Samokhvalov <pg83@yandex.ru>2022-02-10 16:45:17 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:17 +0300
commitd3a398281c6fd1d3672036cb2d63f842d2cb28c5 (patch)
treedd4bd3ca0f36b817e96812825ffaf10d645803f2 /library/cpp/lwtrace/mon
parent72cb13b4aff9bc9cf22e49251bc8fd143f82538f (diff)
downloadydb-d3a398281c6fd1d3672036cb2d63f842d2cb28c5.tar.gz
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/lwtrace/mon')
-rw-r--r--library/cpp/lwtrace/mon/analytics/all.h12
-rw-r--r--library/cpp/lwtrace/mon/analytics/csv_output.h2
-rw-r--r--library/cpp/lwtrace/mon/analytics/html_output.h2
-rw-r--r--library/cpp/lwtrace/mon/analytics/json_output.h4
-rw-r--r--library/cpp/lwtrace/mon/analytics/transform.h2
-rw-r--r--library/cpp/lwtrace/mon/analytics/util.h14
6 files changed, 18 insertions, 18 deletions
diff --git a/library/cpp/lwtrace/mon/analytics/all.h b/library/cpp/lwtrace/mon/analytics/all.h
index 52616bd184..02ddfb83f2 100644
--- a/library/cpp/lwtrace/mon/analytics/all.h
+++ b/library/cpp/lwtrace/mon/analytics/all.h
@@ -1,8 +1,8 @@
#pragma once
-#include "csv_output.h"
-#include "data.h"
-#include "html_output.h"
-#include "json_output.h"
-#include "transform.h"
-#include "util.h"
+#include "csv_output.h"
+#include "data.h"
+#include "html_output.h"
+#include "json_output.h"
+#include "transform.h"
+#include "util.h"
diff --git a/library/cpp/lwtrace/mon/analytics/csv_output.h b/library/cpp/lwtrace/mon/analytics/csv_output.h
index fa79c91e31..90ded32f5d 100644
--- a/library/cpp/lwtrace/mon/analytics/csv_output.h
+++ b/library/cpp/lwtrace/mon/analytics/csv_output.h
@@ -3,7 +3,7 @@
#include <util/string/printf.h>
#include <util/stream/str.h>
#include <util/generic/set.h>
-#include "data.h"
+#include "data.h"
namespace NAnalytics {
diff --git a/library/cpp/lwtrace/mon/analytics/html_output.h b/library/cpp/lwtrace/mon/analytics/html_output.h
index 96c6215544..f775f216b9 100644
--- a/library/cpp/lwtrace/mon/analytics/html_output.h
+++ b/library/cpp/lwtrace/mon/analytics/html_output.h
@@ -3,7 +3,7 @@
#include <util/string/printf.h>
#include <util/stream/str.h>
#include <util/generic/set.h>
-#include "data.h"
+#include "data.h"
namespace NAnalytics {
diff --git a/library/cpp/lwtrace/mon/analytics/json_output.h b/library/cpp/lwtrace/mon/analytics/json_output.h
index 51ce8da3bd..189f9802d3 100644
--- a/library/cpp/lwtrace/mon/analytics/json_output.h
+++ b/library/cpp/lwtrace/mon/analytics/json_output.h
@@ -5,8 +5,8 @@
#include <util/string/vector.h>
#include <util/generic/set.h>
#include <util/generic/hash_set.h>
-#include "data.h"
-#include "util.h"
+#include "data.h"
+#include "util.h"
namespace NAnalytics {
diff --git a/library/cpp/lwtrace/mon/analytics/transform.h b/library/cpp/lwtrace/mon/analytics/transform.h
index 0ba4a27dcd..f7dc9adb5b 100644
--- a/library/cpp/lwtrace/mon/analytics/transform.h
+++ b/library/cpp/lwtrace/mon/analytics/transform.h
@@ -1,6 +1,6 @@
#pragma once
-#include "data.h"
+#include "data.h"
namespace NAnalytics {
diff --git a/library/cpp/lwtrace/mon/analytics/util.h b/library/cpp/lwtrace/mon/analytics/util.h
index 1864a3524e..e07d06cc43 100644
--- a/library/cpp/lwtrace/mon/analytics/util.h
+++ b/library/cpp/lwtrace/mon/analytics/util.h
@@ -1,6 +1,6 @@
#pragma once
-#include "data.h"
+#include "data.h"
#include <util/generic/algorithm.h>
#include <util/generic/hash_set.h>
#include <util/string/vector.h>
@@ -60,9 +60,9 @@ inline double MinValue(const TString& nameAndOpts, const TTable& table)
if (stack) {
return 0.0;
} else {
- auto zero = 0.0;
-
- return AccumulateIfExist(name, table, 1.0 / zero /*+inf*/, [] (double x, double y) {
+ auto zero = 0.0;
+
+ return AccumulateIfExist(name, table, 1.0 / zero /*+inf*/, [] (double x, double y) {
return Min(x, y);
});
}
@@ -79,9 +79,9 @@ inline double MaxValue(const TString& nameAndOpts, const TTable& table)
return x + y;
});
} else {
- auto zero = 0.0;
-
- return AccumulateIfExist(name, table, -1.0 / zero /*-inf*/, [] (double x, double y) {
+ auto zero = 0.0;
+
+ return AccumulateIfExist(name, table, -1.0 / zero /*-inf*/, [] (double x, double y) {
return Max(x, y);
});
}