forked from weaselab/weaseldb
Apply clang-format to ARM histogram code
Pre-commit's clang-format hook reformatted the AArch64 NEON histogram bucket updates so the project style checks pass. No functional change.
This commit is contained in:
+2
-4
@@ -1446,8 +1446,7 @@ update_histogram_buckets_simd(std::span<const double> thresholds,
|
||||
}
|
||||
}
|
||||
#elif defined(__aarch64__)
|
||||
static void
|
||||
update_histogram_buckets_simd(std::span<const double> thresholds,
|
||||
static void update_histogram_buckets_simd(std::span<const double> thresholds,
|
||||
std::span<uint64_t> counts, double x,
|
||||
size_t start_idx) {
|
||||
const size_t size = thresholds.size();
|
||||
@@ -1522,8 +1521,7 @@ void Histogram::observe(double x) {
|
||||
p->mutex.unlock();
|
||||
} else {
|
||||
// Slow path: accumulate in pending (lock-free)
|
||||
update_histogram_buckets(p->thresholds, p->pending.bucket_counts, x,
|
||||
0);
|
||||
update_histogram_buckets(p->thresholds, p->pending.bucket_counts, x, 0);
|
||||
p->pending.sum += x;
|
||||
p->pending.observations++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user