AW: finer resolution for RTEMS_CLOCK_GET_TICKS_PER_SECOND availible?

Detlev Schuemann schuemann at
Thu Jun 19 15:32:36 UTC 2008


there is a high resolution timer in timerdrv.h.

You can use the directives:

Timer_initialize() and Read_timer()

They are used in some testsuites.



-----Ursprüngliche Nachricht-----
Von: rtems-users-bounces at [mailto:rtems-users-bounces at] Im
Auftrag von Christian Poessinger
Gesendet: Donnerstag, 19. Juni 2008 16:48
An: rtems-users at
Betreff: finer resolution for RTEMS_CLOCK_GET_TICKS_PER_SECOND availible?


my i386 based system reports me 100 ticks per second when invoking
rtems_clock_get( RTEMS_CLOCK_GET_TICKS_PER_SECOND , &ticks_persecond );.

I want to count times in the range of microseconds so I can't use the
rtems_clock_get( RTEMS_CLOCK_GET_TICKS_SINCE_BOOT , &ticks_start ); call.

Is there any method in RTEMS to count in micro seconds, like a high
precision timer? When defining CONFIGURE_MICROSECONDS_PER_TICK 1 the
system and my for-loops go crazy.

Best Regards,

rtems-users mailing list
rtems-users at

More information about the users mailing list