Yes.  Actually it's a bug against 0.5.0, but we can pick it up as part of
0.6.0.  Shows how often that test is actually run. :)

On Fri, Dec 19, 2014 at 2:22 PM, Mike Holmes <[email protected]> wrote:
>
> We should add this to 0.6.0 I think - comments ?
>
> On 19 December 2014 at 15:20, Bill Fischofer <[email protected]>
> wrote:
>
>> 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
>>
>
>
>
> --
> *Mike Holmes*
> Linaro  Sr Technical Manager
> LNG - ODP
>
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to