aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest/soak.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/simtest/soak.rs')
-rw-r--r--src/simtest/soak.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/simtest/soak.rs b/src/simtest/soak.rs
index 6906238..db4ba60 100644
--- a/src/simtest/soak.rs
+++ b/src/simtest/soak.rs
@@ -88,7 +88,7 @@ async fn soak_25_nodes() {
/// The upper bound of the bucket in which the `quantile` of changes is reached; None if
/// only in the last (unbounded) one.
-fn percentile_bound(propagation: &Propagation, quantile: f64) -> Option<u64> {
+pub(super) fn percentile_bound(propagation: &Propagation, quantile: f64) -> Option<u64> {
let wanted = (propagation.count as f64 * quantile).ceil() as u64;
let mut seen = 0;
for (bound, count) in propagation.buckets() {