Home
last modified time | relevance | path

Searched refs:bucket_width (Results 1 – 10 of 10) sorted by relevance

/external/rust/android-crates-io/crates/tokio/src/runtime/metrics/
Dhistogram.rs79 pub fn linear(bucket_width: Duration, num_buckets: usize) -> Self {
83 bucket_width: duration_as_u64(bucket_width),
123 bucket_width, in value_to_bucket()
126 cmp::min(value / *bucket_width, max as u64) as usize in value_to_bucket()
149 bucket_width, in bucket_range()
151 start: bucket_width * bucket as u64, in bucket_range()
155 bucket_width * (bucket as u64 + 1) in bucket_range()
181 bucket_width: u64, field
239 bucket_width: 100_000, in new()
257 bucket_width: legacy.resolution, in build()
[all …]
/external/tensorflow/tensorflow/tools/graph_transforms/
Dround_weights.cc92 const float bucket_width = (max - min) / num_steps; in RoundWeights() local
95 std::floor((old_values[i] - min) / bucket_width); in RoundWeights()
96 rounded_values[i] = min + (bucket_width * (bucket + 0.5f)); in RoundWeights()
/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/
Dbeta_distribution_test.cc348 const double bucket_width = 1.0 / static_cast<double>(buckets); in SingleChiSquaredTest() local
352 const double p = bucket_width * static_cast<double>(i); in SingleChiSquaredTest()
370 bucket_width * static_cast<double>(samples)); in SingleChiSquaredTest()
375 expected.push_back(static_cast<double>(buckets - i + 1) * bucket_width * in SingleChiSquaredTest()
/external/cronet/tot/third_party/abseil-cpp/absl/random/
Dbeta_distribution_test.cc346 const double bucket_width = 1.0 / static_cast<double>(buckets); in SingleChiSquaredTest() local
350 const double p = bucket_width * static_cast<double>(i); in SingleChiSquaredTest()
368 bucket_width * static_cast<double>(samples)); in SingleChiSquaredTest()
373 expected.push_back(static_cast<double>(buckets - i + 1) * bucket_width * in SingleChiSquaredTest()
/external/autotest/utils/frozen_chromite/lib/
Dmetrics.py377 bucket_width = 100 / num_buckets
378 b = ts_mon.FixedWidthBucketer(bucket_width, num_buckets)
825 bucket_width = 100 / self.PERCENT_BUCKET_COUNT
826 return sum(x % bucket_width for x in reported)
/external/abseil-cpp/absl/random/
Dbeta_distribution_test.cc346 const double bucket_width = 1.0 / static_cast<double>(buckets); in SingleChiSquaredTest() local
350 const double p = bucket_width * static_cast<double>(i); in SingleChiSquaredTest()
368 bucket_width * static_cast<double>(samples)); in SingleChiSquaredTest()
373 expected.push_back(static_cast<double>(buckets - i + 1) * bucket_width * in SingleChiSquaredTest()
/external/angle/third_party/abseil-cpp/absl/random/
Dbeta_distribution_test.cc346 const double bucket_width = 1.0 / static_cast<double>(buckets); in SingleChiSquaredTest() local
350 const double p = bucket_width * static_cast<double>(i); in SingleChiSquaredTest()
368 bucket_width * static_cast<double>(samples)); in SingleChiSquaredTest()
373 expected.push_back(static_cast<double>(buckets - i + 1) * bucket_width * in SingleChiSquaredTest()
/external/cronet/stable/third_party/abseil-cpp/absl/random/
Dbeta_distribution_test.cc346 const double bucket_width = 1.0 / static_cast<double>(buckets); in SingleChiSquaredTest() local
350 const double p = bucket_width * static_cast<double>(i); in SingleChiSquaredTest()
368 bucket_width * static_cast<double>(samples)); in SingleChiSquaredTest()
373 expected.push_back(static_cast<double>(buckets - i + 1) * bucket_width * in SingleChiSquaredTest()
/external/openscreen/third_party/abseil/src/absl/random/
Dbeta_distribution_test.cc355 const double bucket_width = 1.0 / static_cast<double>(buckets); in SingleChiSquaredTest() local
359 const double p = bucket_width * static_cast<double>(i); in SingleChiSquaredTest()
377 bucket_width * static_cast<double>(samples)); in SingleChiSquaredTest()
382 expected.push_back(static_cast<double>(buckets - i + 1) * bucket_width * in SingleChiSquaredTest()
/external/googleapis/google/genomics/v1/
Dreads.proto383 int64 bucket_width = 1; field