aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/histogram
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/cpp/histogram
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/histogram')
-rw-r--r--library/cpp/histogram/adaptive/protos/ya.make11
-rw-r--r--library/cpp/histogram/adaptive/ya.make15
-rw-r--r--library/cpp/histogram/hdr/ut/ya.make8
-rw-r--r--library/cpp/histogram/hdr/ya.make16
-rw-r--r--library/cpp/histogram/simple/ya.make12
5 files changed, 62 insertions, 0 deletions
diff --git a/library/cpp/histogram/adaptive/protos/ya.make b/library/cpp/histogram/adaptive/protos/ya.make
new file mode 100644
index 0000000000..03b4225480
--- /dev/null
+++ b/library/cpp/histogram/adaptive/protos/ya.make
@@ -0,0 +1,11 @@
+PROTO_LIBRARY()
+
+SRCS(
+ histo.proto
+)
+
+IF (NOT PY_PROTOS_FOR)
+ EXCLUDE_TAGS(GO_PROTO)
+ENDIF()
+
+END()
diff --git a/library/cpp/histogram/adaptive/ya.make b/library/cpp/histogram/adaptive/ya.make
new file mode 100644
index 0000000000..43d0525b4e
--- /dev/null
+++ b/library/cpp/histogram/adaptive/ya.make
@@ -0,0 +1,15 @@
+LIBRARY()
+
+SRCS(
+ common.cpp
+ adaptive_histogram.cpp
+ block_histogram.cpp
+ fixed_bin_histogram.cpp
+)
+
+PEERDIR(
+ contrib/libs/protobuf
+ library/cpp/histogram/adaptive/protos
+)
+
+END()
diff --git a/library/cpp/histogram/hdr/ut/ya.make b/library/cpp/histogram/hdr/ut/ya.make
new file mode 100644
index 0000000000..3d954aaffc
--- /dev/null
+++ b/library/cpp/histogram/hdr/ut/ya.make
@@ -0,0 +1,8 @@
+UNITTEST_FOR(library/cpp/histogram/hdr)
+
+SRCS(
+ histogram_ut.cpp
+ histogram_iter_ut.cpp
+)
+
+END()
diff --git a/library/cpp/histogram/hdr/ya.make b/library/cpp/histogram/hdr/ya.make
new file mode 100644
index 0000000000..48f80c3c2f
--- /dev/null
+++ b/library/cpp/histogram/hdr/ya.make
@@ -0,0 +1,16 @@
+LIBRARY()
+
+SRCS(
+ histogram.cpp
+ histogram_iter.cpp
+)
+
+PEERDIR(
+ contrib/libs/hdr_histogram
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/histogram/simple/ya.make b/library/cpp/histogram/simple/ya.make
new file mode 100644
index 0000000000..00544e802c
--- /dev/null
+++ b/library/cpp/histogram/simple/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/json
+ library/cpp/threading/future
+)
+
+SRCS(
+ histogram.cpp
+)
+
+END()