AW: finer resolution for RTEMS_CLOCK_GET_TICKS_PER_SECOND availible?
Detlev Schuemann
schuemann at ohb-system.de
Thu Jun 19 15:32:36 UTC 2008
Hello,
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.
Regards
Detlev
-----Ursprüngliche Nachricht-----
Von: rtems-users-bounces at rtems.org [mailto:rtems-users-bounces at rtems.org] Im
Auftrag von Christian Poessinger
Gesendet: Donnerstag, 19. Juni 2008 16:48
An: rtems-users at rtems.com
Betreff: 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
_______________________________________________
rtems-users mailing list
rtems-users at rtems.com
http://rtems.rtems.org/mailman/listinfo/rtems-users
More information about the users
mailing list