aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_sched_perf.c
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2018-08-30 12:44:44 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-09-05 17:15:36 +0300
commit6d50738dd0880aff32b58b15f550150a4766f13e (patch)
treefc90d81ee92a9bfb3b8ceba1be2132194b627ade /test/performance/odp_sched_perf.c
parente8cb778f75282d08ad398e9145e8b14b05c7cf05 (diff)
test: sched_perf: total events per second
Added result for events per second over all workers. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test/performance/odp_sched_perf.c')
-rw-r--r--test/performance/odp_sched_perf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/performance/odp_sched_perf.c b/test/performance/odp_sched_perf.c
index d80f77494..bbd76c86c 100644
--- a/test/performance/odp_sched_perf.c
+++ b/test/performance/odp_sched_perf.c
@@ -564,6 +564,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)