diff options
author | Anton Samokhvalov <pg83@yandex.ru> | 2022-02-10 16:45:15 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:45:15 +0300 |
commit | 72cb13b4aff9bc9cf22e49251bc8fd143f82538f (patch) | |
tree | da2c34829458c7d4e74bdfbdf85dff449e9e7fb8 /library/cpp/lwtrace/mon | |
parent | 778e51ba091dc39e7b7fcab2b9cf4dbedfb6f2b5 (diff) | |
download | ydb-72cb13b4aff9bc9cf22e49251bc8fd143f82538f.tar.gz |
Restoring authorship annotation for Anton Samokhvalov <pg83@yandex.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/lwtrace/mon')
-rw-r--r-- | library/cpp/lwtrace/mon/analytics/all.h | 12 | ||||
-rw-r--r-- | library/cpp/lwtrace/mon/analytics/csv_output.h | 2 | ||||
-rw-r--r-- | library/cpp/lwtrace/mon/analytics/html_output.h | 2 | ||||
-rw-r--r-- | library/cpp/lwtrace/mon/analytics/json_output.h | 4 | ||||
-rw-r--r-- | library/cpp/lwtrace/mon/analytics/transform.h | 2 | ||||
-rw-r--r-- | library/cpp/lwtrace/mon/analytics/util.h | 14 |
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 02ddfb83f2..52616bd184 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 90ded32f5d..fa79c91e31 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 f775f216b9..96c6215544 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 189f9802d3..51ce8da3bd 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 f7dc9adb5b..0ba4a27dcd 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 e07d06cc43..1864a3524e 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); }); } |