Share via


Timer Reference Kernel Interface (Windows Embedded CE 6.0)

1/5/2010

The following table shows the programming elements exported to the kernel from the timer library.

Programming Elements Description

CurMSec

This global variable indicates the number of milliseconds since boot.

OALTimerIntrHandler

This function implements the timer interrupt handler.

OEMIdle

This function is called by the kernel to place the CPU in the idle state when there are no threads ready to run.

pOEMUpdateRescheduleTime

This function points to the function that reprograms the system timer.

pQueryPerformanceCounter

Optional. This function points to the OEM implementation of the OEMQueryPerformanceCounter function. It should be set for platforms that provide timer functions with higher granularity than GetTickCount.

pQueryPerformanceFrequency

Optional. This function points to the OEM implementation of the OEMQueryPerformanceFrequency function. It should be set for platforms that provide timer functions with higher granularity than GetTickCount.

SC_GetTickCount

This function is called from the OAL and retrieves the number of milliseconds that have elapsed since Windows Embedded CE was started.

See Also

Reference

Timer Reference

Concepts

Production-Quality OAL Components