RTEMS Logo

RTEMS 4.9.2 On-Line Library


Clock Manager CLOCK_GET_TICKS_PER_SECOND - Get ticks per second

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

7.4.6: CLOCK_GET_TICKS_PER_SECOND - Get ticks per second

CALLING SEQUENCE:

function Clock_Get_Ticks_Per_Seconds
return RTEMS.Interval;

DIRECTIVE STATUS CODES:

NONE

DESCRIPTION:

This directive returns the number of clock ticks per second. This is strictly based upon the microseconds per clock tick that the application has configured.

NOTES:

This directive is callable from an ISR.

This directive will not cause the running task to be preempted. Re-initializing RTEMS causes the system date and time to be reset to an uninitialized state. Another call to rtems.clock_set is required to re-initialize the system date and time to application specific specifications.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2008 OAR Corporation