Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-03 Thread Savolainen, Petri (Nokia - FI/Espoo)
> >> > >> Both local and global timestamp calls can directly return a global HW > counter value (zeroed at ODP init) when it's defined like this. > >> > >> If user really needs thread life time, we can add > odp_thread_life_time() API call for that. > >> > >> > >> -Petri > >> > > > > Is it supposed

Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-03 Thread Ivan Khoronzhuk
Mailman List Subject: Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API On 02.12.15 13:39, Ivan Khoronzhuk wrote: On 02.12.15 13:21, Savolainen, Petri (Nokia - FI/Espoo) wrote: diff --git a/platform/linux-generic/odp_time.c b/platform/linux- generic/odp_time.c

Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-03 Thread Ivan Khoronzhuk
PATCH v5 7/9] linux-generic: align with new wall time API On 02.12.15 13:39, Ivan Khoronzhuk wrote: On 02.12.15 13:21, Savolainen, Petri (Nokia - FI/Espoo) wrote: diff --git a/platform/linux-generic/odp_time.c b/platform/linux- generic/odp_time.c index b725086..1aae88c 100644 --- a/platform

Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-02 Thread Ivan Khoronzhuk
PATCH v5 7/9] linux-generic: align with new wall time API On 02.12.15 13:39, Ivan Khoronzhuk wrote: On 02.12.15 13:21, Savolainen, Petri (Nokia - FI/Espoo) wrote: diff --git a/platform/linux-generic/odp_time.c b/platform/linux- generic/odp_time.c index b725086..1aae88c 100644 --- a/platform

Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-02 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: EXT Ivan Khoronzhuk [mailto:ivan.khoronz...@linaro.org] > Sent: Wednesday, December 02, 2015 1:56 PM > To: Savolainen, Petri (Nokia - FI/Espoo); LNG ODP Mailman List > Subject: Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with

Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-02 Thread Ivan Khoronzhuk
On 02.12.15 13:39, Ivan Khoronzhuk wrote: On 02.12.15 13:21, Savolainen, Petri (Nokia - FI/Espoo) wrote: diff --git a/platform/linux-generic/odp_time.c b/platform/linux- generic/odp_time.c index b725086..1aae88c 100644 --- a/platform/linux-generic/odp_time.c +++ b/platform/linux-generic/odp

Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-02 Thread Savolainen, Petri (Nokia - FI/Espoo)
> >> > >> diff --git a/platform/linux-generic/odp_time.c b/platform/linux- > >> generic/odp_time.c > >> index b725086..1aae88c 100644 > >> --- a/platform/linux-generic/odp_time.c > >> +++ b/platform/linux-generic/odp_time.c > >> @@ -11,19 +11,21 @@ > >> #include > >> #include > >> > >> -odp_t

Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-02 Thread Ivan Khoronzhuk
On 02.12.15 10:20, Savolainen, Petri (Nokia - FI/Espoo) wrote: -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT Ivan Khoronzhuk Sent: Tuesday, December 01, 2015 5:08 PM To: lng-odp@lists.linaro.org Subject: [lng-odp] [API-NEXT PATCH v5 7/9

Re: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-02 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT > Ivan Khoronzhuk > Sent: Tuesday, December 01, 2015 5:08 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new > w

[lng-odp] [API-NEXT PATCH v5 7/9] linux-generic: align with new wall time API

2015-12-01 Thread Ivan Khoronzhuk
The local time API supposes the time source is wall time. So correct linux-generic implementation. Signed-off-by: Ivan Khoronzhuk --- platform/linux-generic/include/odp_internal.h | 2 + platform/linux-generic/odp_schedule.c | 9 ++-- platform/linux-generic/odp_time.c | 61