Home |
RTKernel-32 Programming Manual Function RTPStartTimer |
Function RTPStartTimerRTPStartTimer starts profiling with interrupts generated by the PC Timer chip: void RTPStartTimer(UINT Flags, int IntsPerSecond); ParametersFlagsPlease see the Flags parameter of function RTPStart for details. IntsPerSecondThe number of interrupts to generate per second. Any value greater 18 is supported. Depending on the target's speed, rates of 1000 to 20000 are recommended. This function programs the PC Timer to generate interrupts with the requested rate on IRQ 0 and then calls RTPStart. This function must not be used if the PC Timer is in use for some other purpose, such as the default clock driver CLKHRTPC. RTPStartTimer could be used by programs which link clock and timer drivers CLKRTC and HRTPENT, for example.
|