Commit a49045e6 authored by Thomas Schöpping's avatar Thomas Schöpping
Browse files

subscriber benchmark: fixed output

parent 64c9933f
......@@ -994,7 +994,7 @@ int _urtbenchmark_pubsub_subscriber(BaseSequentialStream* const stream,
// print all latencies
for (size_t s = 0; s < subscribers; ++s) {
for (size_t i = 0; i < URTBENCHMARK_CFG_REPETITIONS; ++i) {
chprintf(stream, "%11u\t%10u\t%9u\t%7u\n", subscribers, +1, i+1, _urtbenchmark_data.pubsub.subscribers.latencybuffer[s][i]);
chprintf(stream, "%11u\t%10u\t%9u\t%7u\n", subscribers, s+1, i+1, _urtbenchmark_data.pubsub.subscribers.latencybuffer[s][i]);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment