Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-19 Thread Sebastian Huber
On 17/11/2021 19:32, Sebastian Huber wrote: On 16/11/2021 22:47, Chris Johns wrote: On 16/11/21 4:27 am, Sebastian Huber wrote: On 11/11/2021 08:02, Sebastian Huber wrote:> On 09/11/2021 13:06, Sebastian Huber wrote: On 09/11/2021 08:50, Sebastian Huber wrote: On 09/11/2021 08:41, Chris

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-17 Thread Sebastian Huber
On 16/11/2021 22:47, Chris Johns wrote: On 16/11/21 4:27 am, Sebastian Huber wrote: On 11/11/2021 08:02, Sebastian Huber wrote:> On 09/11/2021 13:06, Sebastian Huber wrote: On 09/11/2021 08:50, Sebastian Huber wrote: On 09/11/2021 08:41, Chris Johns wrote: We could also use something like

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-16 Thread Chris Johns
On 16/11/21 4:27 am, Sebastian Huber wrote: > On 11/11/2021 08:02, Sebastian Huber wrote:> On 09/11/2021 13:06, Sebastian > Huber wrote: >>> On 09/11/2021 08:50, Sebastian Huber wrote: On 09/11/2021 08:41, Chris Johns wrote: >> We could also use something like this: >> >> static

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-15 Thread Sebastian Huber
On 11/11/2021 08:02, Sebastian Huber wrote:> On 09/11/2021 13:06, Sebastian Huber wrote: On 09/11/2021 08:50, Sebastian Huber wrote: On 09/11/2021 08:41, Chris Johns wrote: We could also use something like this: static inline struct timespec rtems_clock_get_realtime(void) {    struct timespec

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-10 Thread Sebastian Huber
On 09/11/2021 13:06, Sebastian Huber wrote: On 09/11/2021 08:50, Sebastian Huber wrote: On 09/11/2021 08:41, Chris Johns wrote: We could also use something like this: static inline struct timespec rtems_clock_get_realtime(void) {    struct timespec time_snapshot;    _Timecounter_Nanotime(

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-09 Thread Sebastian Huber
On 09/11/2021 08:50, Sebastian Huber wrote: On 09/11/2021 08:41, Chris Johns wrote: We could also use something like this: static inline struct timespec rtems_clock_get_realtime(void) {    struct timespec time_snapshot;    _Timecounter_Nanotime( _snapshot );    return time_snapshot; }

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Sebastian Huber
On 09/11/2021 08:41, Chris Johns wrote: We could also use something like this: static inline struct timespec rtems_clock_get_realtime(void) {   struct timespec time_snapshot;   _Timecounter_Nanotime( _snapshot );   return time_snapshot; } Unfortunately GCC is not able to optimize this.

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Chris Johns
On 9/11/21 5:57 pm, Sebastian Huber wrote: > On 09/11/2021 03:46, Chris Johns wrote: >> >> On 20/10/21 2:25 am, Sebastian Huber wrote: >>> Add new clock manager directives to get all times provided by the >>> timehands. >>> >>> Update #4527. >>> --- >>> For an updated document to review see: >>>

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Sebastian Huber
On 09/11/2021 07:57, Sebastian Huber wrote: We could also use something like this: static inline struct timespec rtems_clock_get_realtime(void) {   struct timespec time_snapshot;   _Timecounter_Nanotime( _snapshot );   return time_snapshot; } Unfortunately GCC is not able to optimize

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Sebastian Huber
On 09/11/2021 03:46, Chris Johns wrote: On 20/10/21 2:25 am, Sebastian Huber wrote: Add new clock manager directives to get all times provided by the timehands. Update #4527. --- For an updated document to review see: https://ftp.rtems.org/pub/rtems/people/sebh/c-user.pdf v2: Clarify boot

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Sebastian Huber
On 08/11/2021 23:53, Chris Johns wrote: On 9/11/21 9:08 am, Joel Sherrill wrote: On Mon, Nov 8, 2021, 5:04 PM Chris Johns mailto:chr...@rtems.org>> wrote: On 8/11/21 5:29 pm, Sebastian Huber wrote: > On 25/10/2021 19:50, Sebastian Huber wrote: >> On 19/10/2021 17:25, Sebastian

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Chris Johns
On 20/10/21 2:25 am, Sebastian Huber wrote: > Add new clock manager directives to get all times provided by the > timehands. > > Update #4527. > --- > For an updated document to review see: > > https://ftp.rtems.org/pub/rtems/people/sebh/c-user.pdf > > v2: Clarify boot time. > >

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Chris Johns
On 9/11/21 9:08 am, Joel Sherrill wrote: > > > On Mon, Nov 8, 2021, 5:04 PM Chris Johns > wrote: > > On 8/11/21 5:29 pm, Sebastian Huber wrote: > > On 25/10/2021 19:50, Sebastian Huber wrote: > >> On 19/10/2021 17:25, Sebastian Huber wrote: > >>> Add

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Joel Sherrill
On Mon, Nov 8, 2021, 5:04 PM Chris Johns wrote: > On 8/11/21 5:29 pm, Sebastian Huber wrote: > > On 25/10/2021 19:50, Sebastian Huber wrote: > >> On 19/10/2021 17:25, Sebastian Huber wrote: > >>> Add new clock manager directives to get all times provided by the > >>> timehands. > >>> > >>>

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-08 Thread Chris Johns
On 8/11/21 5:29 pm, Sebastian Huber wrote: > On 25/10/2021 19:50, Sebastian Huber wrote: >> On 19/10/2021 17:25, Sebastian Huber wrote: >>> Add new clock manager directives to get all times provided by the >>> timehands. >>> >>> Update #4527. >>> --- >>> For an updated document to review see: >>>

Re: [PATCH v2] c-user: Document new clock manager directives

2021-11-07 Thread Sebastian Huber
On 25/10/2021 19:50, Sebastian Huber wrote: On 19/10/2021 17:25, Sebastian Huber wrote: Add new clock manager directives to get all times provided by the timehands. Update #4527. --- For an updated document to review see: https://ftp.rtems.org/pub/rtems/people/sebh/c-user.pdf v2: Clarify

Re: [PATCH v2] c-user: Document new clock manager directives

2021-10-25 Thread Sebastian Huber
On 19/10/2021 17:25, Sebastian Huber wrote: Add new clock manager directives to get all times provided by the timehands. Update #4527. --- For an updated document to review see: https://ftp.rtems.org/pub/rtems/people/sebh/c-user.pdf v2: Clarify boot time. Any comments with respect to the

[PATCH v2] c-user: Document new clock manager directives

2021-10-19 Thread Sebastian Huber
Add new clock manager directives to get all times provided by the timehands. Update #4527. --- For an updated document to review see: https://ftp.rtems.org/pub/rtems/people/sebh/c-user.pdf v2: Clarify boot time. c-user/clock/directives.rst | 835 ++