ILTIMING_MESSAGE (Windows CE 5.0)
This structure is used by ILTiming.exe when it calls KernelIoControl with IOCTL_HAL_ILTIMING.
typedef struct tILTIMING_MESSAGE {WORDwMsg;WORDwNumInterrupts;DWORDdwIsrTime1;DWORDdwIsrTime2;DWORDdwSPC;DWORDdwFrequency;PVOIDpfnPerfCountSinceTick;} ILTIMING_MESSAGE, *PILTIMING_MESSAGE;
Members
wMsg
Command to process. The OAL fills in the structure depending on the value of wMsg.The following four messages are 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 are called in kernel mode 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
Send Feedback on this topic to the authors