Home |
RTKernel-32 Programming Manual Multitasking, Real-Time, and RTKernel-32 Alternate APIs for RTKernel-32 Module Timer |
Module TimerModule Timer is a high-level floating point interface to RTKernel-32's high resolution timer device driver. The advantage of using module Timer over module FineTime is that better rounding can yield more accurate results and overflow situations are handled more gracefully than by modules FineTime and Clock. The disadvantage is that Timer requires floating point. Thus, all tasks that want to use Timer must have their own floating point context and the program must run in an environment that supports floating point (either with a math coprocessor or with an emulator). The primary data type of module Timer is seconds (type TISeconds, double). The application interface to module Timer is given in include file Timer.h and documented in the RTKernel-32 Reference Manual.
|