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: Question about ticket 2349

2021-11-08 Thread Sebastian Huber
Hello Gabriel, On 04/11/2021 09:23, gabriel.moy...@dlr.de wrote: In my team we are wondering what is required to add PPS support and since you’ve added the ticket (https://devel.rtems.org/ticket/2349 ), you may be the first person to ask about. I would

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: >>>