aboutsummaryrefslogtreecommitdiff
path: root/test/performance/odp_cpu_bench.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/performance/odp_cpu_bench.c')
-rw-r--r--test/performance/odp_cpu_bench.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/performance/odp_cpu_bench.c b/test/performance/odp_cpu_bench.c
index 7ef12dc30..39eff620d 100644
--- a/test/performance/odp_cpu_bench.c
+++ b/test/performance/odp_cpu_bench.c
@@ -4,6 +4,14 @@
* SPDX-License-Identifier: BSD-3-Clause
*/
+/**
+ * @example odp_cpu_bench.c
+ *
+ * Application for CPU stress testing
+ *
+ * @cond _ODP_HIDE_FROM_DOXYGEN_
+ */
+
#include <odp_api.h>
#include <odp/helper/odph_api.h>
@@ -327,7 +335,7 @@ static int run_thread(void *arg)
odp_event_t ev;
ev = odp_schedule(NULL,
- odp_schedule_wait_time(ODP_TIME_SEC_IN_NS));
+ odp_schedule_wait_time(100 * ODP_TIME_MSEC_IN_NS));
if (ev == ODP_EVENT_INVALID)
break;