ILTIMING_MESSAGE
This structure is used by ILTiming.exe when it calls KernelIoControl with IOCTL_HAL_ILTIMING.
typedef struct tILTIMING_MESSAGE {
WORD wMsg;
WORD wNumInterrupts;
DWORD dwIsrTime1;
DWORD dwIsrTime2;
DWORD dwSPC;
DWORD dwFrequency;
PVOID pfnPerfCountSinceTick;
} ILTIMING_MESSAGE, *PILTIMING_MESSAGE;
Members
- wMsg
Command to process. The OAL will fill in the structure depending on the value of wMsg. The following table shows the four messages defined for wMsg:Message Description ILTIMING_MSG_ENABLE The OAL hooks the system tick from causing a SYSINTR_TIMING interrupt event. No structure fields are updated. ILTIMING_MSG_DISABLE The OAL unhooks the system tick from causing a SYSINTR_TIMING interrupt event. No structure fields are updated. ILTIMING_MSG_GET_TIMES The OAL fills in all structure members except pfnPerfCountSinceTick. ILTIMING_MSG_GET_PFN The OAL returns a pointer to the PerfCountSinceTick function in pfnPerfCountSinceTick that will be called in kernel mode directly from the application to minimize overhead. - wNumInterrupts
Number of interrupts since the last call. - dwIsrTime1
Start of ISR. - dwIsrTime2
End of ISR. - dwSPC
Saved program counter at time of INT. - dwFrequency
PerfCount frequency. - pfnPerfCountSinceTick
Pointer to OAL function.
Remarks
The OAL will fill in the structure depending on the value of wMsg. For an example of the OAL implementation, see the sample platforms in %_WINCEROOT%\Platform\%BSP%\Kernel\Hal\Oemioctl.c.
Requirements
OS Versions: Windows CE 3.0 and later.
Header: Iltiming.h.
See Also
ILTiming.exe | IOCTL_HAL_ILTIMING
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.