From: Petri Savolainen <petri.savolai...@linaro.org>

Added result for events per second over all
workers.

Signed-off-by: Petri Savolainen <petri.savolai...@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 --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)

Reply via email to