folly/folly/stats/detail/BUCK

load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library")

oncall("fbcode_entropy_wardens_folly")

cpp_library(
    name = "bucket",
    headers = ["Bucket.h"],
    exported_deps = [
        "//folly:constexpr_math",
    ],
)

cpp_library(
    name = "buffered_stat",
    srcs = [],
    headers = [
        "BufferedStat.h",
        "BufferedStat-inl.h",
    ],
    exported_deps = [
        ":sliding_window",
        "//folly:shared_mutex",
        "//folly/stats:digest_builder",
    ],
)

cpp_library(
    name = "sliding_window",
    srcs = [
    ],
    headers = [
        "SlidingWindow.h",
        "SlidingWindow-inl.h",
    ],
    exported_deps = [
        "//folly:function",
    ],
)

cpp_library(
    name = "double_radix_sort",
    srcs = [
        "DoubleRadixSort.cpp",
    ],
    headers = [
        "DoubleRadixSort.h",
    ],
)