aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_timer_perf.c
diff options
context:
space:
mode:
authorMalvika Gupta <Malvika.Gupta@arm.com>2020-09-25 18:33:35 -0500
committerJere Leppänen <JereLeppanen@users.noreply.github.com>2020-10-06 12:45:25 +0300
commit8a01eff9580bf7d92fbdfc3741f00c8708e190f8 (patch)
tree3b46e9427a47287cc92e77422b5181fc5c719fe0 /test/performance/odp_timer_perf.c
parentb4497e61fe655447f7290a4529f6ee6d9f36472f (diff)
test: performance: add odp_sys_info_print() to all performance tests
For only half of the performance tests, ODP system info is shown in the test log. This information should be added for every test to give more context to the test results. For tests that report results in units of CPU cycles, it is important to know the CPU model, frequency, etc. to correctly analyze and interpret the results. Signed-off-by: Malvika Gupta <Malvika.Gupta@arm.com> Reviewed-by: Govindarajan Mohandoss <Govindarajan.Mohandoss@arm.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'test/performance/odp_timer_perf.c')
-rw-r--r--test/performance/odp_timer_perf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/performance/odp_timer_perf.c b/test/performance/odp_timer_perf.c
index 7834d4e56..443c53a2b 100644
--- a/test/performance/odp_timer_perf.c
+++ b/test/performance/odp_timer_perf.c
@@ -704,6 +704,8 @@ int main(int argc, char **argv)
return -1;
}
+ odp_sys_info_print();
+
odp_schedule_config(NULL);
if (set_num_cpu(global))