Re: [lng-odp] [RFC Patch] example: timer: move cycles/ns table to validation tests

2015-09-11 Thread Ivan Khoronzhuk
Ola, The patch with your corrections is included in the series that I sent recently: "[lng-odp] [PATCH v2 0/5] preparation series before updating odp time API" On 07.09.15 14:55, Ivan Khoronzhuk wrote: Ola, On 07.09.15 14:45, Ola Liljedahl wrote: On 7 September 2015 at 11:45, Ivan Khoronzhuk

Re: [lng-odp] [RFC Patch] example: timer: move cycles/ns table to validation tests

2015-09-07 Thread Ivan Khoronzhuk
Petri, Maybe this peace of code should migrate to some other place, but on my opinion it has more common with time API then cpu API. The table to check time table mixes time/cycles with timer API example, and it is confusing a little. Here it doesn't bear any sense except time API has

[lng-odp] [RFC Patch] example: timer: move cycles/ns table to validation tests

2015-09-03 Thread Ivan Khoronzhuk
The linux-generic implements timers supposing that timers are based on CPU cycle counter. It's not always true and timer API can have nothing common with CPU cycles. Thus timer test shouldn't print here conversion cycles/ns table for time API. Signed-off-by: Ivan Khoronzhuk