Kernel Global Variables for Scheduling
The kernel exports a number of global variables that the platform OAL reads and modifies. The kernel exports the following items:
-
DWORD counter of the number of milliseconds since system boot. The user can read this variable by calling GetTickCount.
-
DWORD containing the millisecond count of the next time the kernel expects to run the scheduler.
curridlehigh, curridlelow, and idleconv
DWORD variables that implement a 64-bit counter reflecting the number of milliseconds the system has been idle. The user can read this counter by calling GetIdleTime.
The sample platforms also define a number of global variables that are local to the OAL and not accessed by the kernel. These are not part of the kernel-scheduling interface and may not be present on all platforms.
See Also
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.