Clock Services
[Driver Development API]


Functions

nanosecs_abs_t rtdm_clock_read (void)
 Get system time.


Function Documentation

nanosecs_abs_t rtdm_clock_read void   ) 
 

Get system time.

Returns:
The system time in nanoseconds is returned
Note:
The resolution of this service depends on the system timer. In particular, if the system timer is running in periodic mode, the return value will be limited to multiples of the timer tick period.

The system timer may have to be started to obtain valid results. Whether this happens automatically (as on Xenomai) or is controlled by the application depends on the RTDM host environment.

Environments:

This service can be called from:

  • Kernel module initialization/cleanup code
  • Interrupt service routine
  • Kernel-based task
  • User-space task (RT, non-RT)

Rescheduling: never.


Generated on Mon Dec 25 13:57:11 2006 for Xenomai API by  doxygen 1.4.6