finer resolution for RTEMS_CLOCK_GET_TICKS_PER_SECOND availible?

Christian Poessinger xcp at mixed-mode.de
Thu Jun 19 14:48:28 UTC 2008


Hallo,

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,
Christian






More information about the users mailing list