[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
finer resolution for RTEMS_CLOCK_GET_TICKS_PER_SECOND availible?
- Date: Thu, 19 Jun 2008 16:48:28 +0200 (CEST)
- From: xcp at mixed-mode.de (Christian Poessinger)
- Subject: finer resolution for RTEMS_CLOCK_GET_TICKS_PER_SECOND availible?
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