aboutsummaryrefslogtreecommitdiff
path: root/example/timer
diff options
context:
space:
mode:
authorBill Fischofer <bill.fischofer@linaro.org>2014-12-19 14:20:43 -0600
committerMaxim Uvarov <maxim.uvarov@linaro.org>2014-12-23 11:26:19 +0300
commitc4d7ab2b12ded66160d4f0a6908bd5f12a6c9611 (patch)
tree9b47a60cf16cb775dd766be87466883b8a0b14a7 /example/timer
parent0b3c2b87cfec6a51574da627815e84e65ea53536 (diff)
example: timer: update timer test for new buffer pools
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> Tested-by: Mike Holmes <mike.holmes@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'example/timer')
-rw-r--r--example/timer/odp_timer_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c
index 0d6e31a..c754695 100644
--- a/example/timer/odp_timer_test.c
+++ b/example/timer/odp_timer_test.c
@@ -27,6 +27,7 @@
#define MAX_WORKERS 32 /**< Max worker threads */
#define MSG_POOL_SIZE (4*1024*1024) /**< Message pool size */
+#define MSG_NUM_BUFS 10000 /**< Number of timers */
/** Test arguments */
@@ -316,7 +317,7 @@ int main(int argc, char *argv[])
params.buf_size = 0;
params.buf_align = 0;
- params.num_bufs = MSG_POOL_SIZE;
+ params.num_bufs = MSG_NUM_BUFS;
params.buf_type = ODP_BUFFER_TYPE_TIMEOUT;
pool = odp_buffer_pool_create("msg_pool", shm, &params);