Skip to content

Commit b3626ab

Browse files
committed
Fix CpuProfilingConfig import path and clippy warning in benches
1 parent a06d1d2 commit b3626ab

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

dial9-tokio-telemetry/benches/e2e_workload.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
mod bmf;
55

66
#[cfg(target_os = "linux")]
7-
use dial9_tokio_telemetry::telemetry::CpuProfilingConfig;
7+
use dial9_tokio_telemetry::telemetry::cpu_profile::CpuProfilingConfig;
88
use dial9_tokio_telemetry::telemetry::{RotatingWriter, TracedRuntime};
99
use std::time::Instant;
1010
use tokio::io::{AsyncReadExt, AsyncWriteExt};

dial9-tokio-telemetry/benches/overhead_bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ fn run_bench(mode: &str, duration_secs: u64) -> BenchResult {
169169

170170
let mut merged = Histogram::<u64>::new_with_bounds(1_000, 60_000_000_000, 3).unwrap();
171171
for h in handles {
172-
merged.add(&h.await.unwrap()).unwrap();
172+
merged.add(h.await.unwrap()).unwrap();
173173
}
174174
(merged, wall)
175175
});

0 commit comments

Comments
 (0)