aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest
diff options
context:
space:
mode:
Diffstat (limited to 'src/simtest')
-rw-r--r--src/simtest/bench.rs9
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,
]
}