Share via


ILTIMING_MESSAGE (Windows Embedded CE 6.0)

1/5/2010

This structure is used by ILTiming.exe when it calls KernelIoControl with IOCTL_HAL_ILTIMING.

Syntax

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 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.

Requirements

Header iltiming.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

OAL Structures
IOCTL_HAL_ILTIMING

Other Resources

ILTiming.exe