diff options
| author | tv <tv@krebsco.de> | 2026-11-06 14:29:42 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-06 14:29:42 +0100 |
| commit | d6f6c7aad904e650e6c7371dbd4776f6f0be2388 (patch) | |
| tree | c4cf94b5099e3ea31faddc7356459337127eb3f3 /src/simtest | |
| parent | 43305f5a0e2a87c68405989600b33e33c1ab70df (diff) | |
indirect probes
Diffstat (limited to 'src/simtest')
| -rw-r--r-- | src/simtest/bench.rs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/simtest/bench.rs b/src/simtest/bench.rs index 493936f..ac44685 100644 --- a/src/simtest/bench.rs +++ b/src/simtest/bench.rs @@ -422,7 +422,7 @@ impl Totals { } /// The kinds, in the order of the report. -const KINDS: [&str; 9] = [ +const KINDS: [&str; 10] = [ "SYNC", "STATUS", "STATUS_REPLY", @@ -432,9 +432,10 @@ const KINDS: [&str; 9] = [ "PING/PONG", "WHO/ME", "LINKS", + "PROBE", ]; -fn counters(by: &ByKind) -> [Counter; 9] { +fn counters(by: &ByKind) -> [Counter; 10] { [ by.sync, by.status, @@ -445,10 +446,11 @@ fn counters(by: &ByKind) -> [Counter; 9] { by.paths, by.identity, by.links, + by.probe, ] } -fn counters_mut(by: &mut ByKind) -> [&mut Counter; 9] { +fn counters_mut(by: &mut ByKind) -> [&mut Counter; 10] { [ &mut by.sync, &mut by.status, @@ -459,6 +461,7 @@ fn counters_mut(by: &mut ByKind) -> [&mut Counter; 9] { &mut by.paths, &mut by.identity, &mut by.links, + &mut by.probe, ] } |
