diff mbox series

[v1,3/3] test: sched_perf: total events per second

Message ID 1535623206-484-4-git-send-email-odpbot@yandex.ru
State Superseded
Headers show
Series [v1,1/3] test: sched_perf: total number of queues option | expand

Commit Message

Github ODP bot Aug. 30, 2018, 10 a.m. UTC
From: Petri Savolainen <petri.savolainen@linaro.org>


Added result for events per second over all
workers.

Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org>

---
/** Email created from pull request 687 (psavol:master-test-sched-perf-options)
 ** https://github.com/Linaro/odp/pull/687
 ** Patch: https://github.com/Linaro/odp/pull/687.patch
 ** Base sha: 97fc51b1e5b3fcea9db99ba63c10bda47f79341a
 ** Merge commit sha: b10a9d3318c78101ad4c590deb3d4be6ad7b3cc1
 **/
 test/performance/odp_sched_perf.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/test/performance/odp_sched_perf.c b/test/performance/odp_sched_perf.c
index ba16623c9..9bbcde0b7 100644
--- a/test/performance/odp_sched_perf.c
+++ b/test/performance/odp_sched_perf.c
@@ -554,6 +554,9 @@  static void print_stat(test_global_t *global)
 	       (1000.0 * rounds_ave) / nsec_ave);
 	printf("  events per sec:           %.3f M\n\n",
 	       (1000.0 * events_ave) / nsec_ave);
+
+	printf("TOTAL events per sec:       %.3f M\n\n",
+	       (1000.0 * events_sum) / nsec_ave);
 }
 
 int main(int argc, char **argv)