[PATCH v2] c-user: Document new clock manager directives
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Nov 9 07:20:08 UTC 2021
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( &time_snapshot );
>
> return time_snapshot;
> }
>
> Unfortunately GCC is not able to optimize this.
Just for reference:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103150
--
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list