Signed-off-by: Bill Fischofer <[email protected]>
---
Test was not properly updated to run with new buffer pool structure. Added
an explicit buffer number.

 example/timer/odp_timer_test.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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);
--
1.8.3.2

_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to