From 5b89dfbd5c18467ad4a6c549b8d1ca8212811521 Mon Sep 17 00:00:00 2001 From: shosseinimotlagh Date: Mon, 4 Nov 2024 12:40:53 -0800 Subject: [PATCH] Reduce cardinalities --- 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..d28fe32c 100644 --- a/include/sisl/metrics/histogram_buckets.hpp +++ b/include/sisl/metrics/histogram_buckets.hpp @@ -29,12 +29,19 @@ typedef std::vector< double > hist_bucket_boundaries_t; X(DefaultBuckets, 10, 40, 70, 100, 160, 220, 280, 340, 400, 475, 600, 750, 900, 1100, 1400, 1700, 2000, 3500, \ 5000, 6500, 8000, 10000, 13000, 16000, 20000, 50000, 80000, 100000, 150000, 180000, 200000, 500000, 2000000, \ 3000000, 4000000) \ + X(LinearUpto64Buckets, 0, 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 64) \ + 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) \ \