From 6ebd12dd069482affb653222c3c2c3973e7fd217 Mon Sep 17 00:00:00 2001 From: Mehdi Hosseini <116847813+shosseinimotlagh@users.noreply.github.com> Date: Wed, 6 Nov 2024 08:53:15 -0800 Subject: [PATCH] Reduce cardinalities (#248) --- conanfile.py | 2 +- include/sisl/metrics/histogram_buckets.hpp | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/conanfile.py b/conanfile.py index 2c16a3d7..6362d47f 100644 --- a/conanfile.py +++ b/conanfile.py @@ -9,7 +9,7 @@ class SISLConan(ConanFile): name = "sisl" - version = "8.8.0" + version = "8.8.1" homepage = "https://github.com/eBay/sisl" description = "Library for fast data structures, utilities" topics = ("ebay", "components", "core", "efficiency") diff --git a/include/sisl/metrics/histogram_buckets.hpp b/include/sisl/metrics/histogram_buckets.hpp index a725262e..6cee39d7 100644 --- a/include/sisl/metrics/histogram_buckets.hpp +++ b/include/sisl/metrics/histogram_buckets.hpp @@ -30,11 +30,18 @@ typedef std::vector< double > hist_bucket_boundaries_t; 5000, 6500, 8000, 10000, 13000, 16000, 20000, 50000, 80000, 100000, 150000, 180000, 200000, 500000, 2000000, \ 3000000, 4000000) \ \ + X(OpLatecyBuckets, 10, 50, 100, 150, 200, 300, 400, 500, 750, 1000, 1500, 2000, 5000, 10000, 20000, 100000, \ + 200000, 2000000) \ + \ X(ExponentialOfTwoBuckets, 1, exp2(4), exp2(7), exp2(10), exp2(13), exp2(16), exp2(19), exp2(22), exp2(25), \ - exp2(28), exp2(31)) \ + exp2(28), exp2(31)) \ + \ + X(OpSizeBuckets, exp2(12), exp2(13), exp2(16), exp2(20), exp2(22)) \ \ X(LinearUpto64Buckets, 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64) \ \ + X(SteppedUpto32Buckets, 0, 1, 4, 16, 32) \ + \ X(LinearUpto128Buckets, 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64, 68, 72, 76, 80, 84, 88, \ 92, 96, 100, 104, 108, 112, 116, 120, 124, 128) \ \