Partager via


ILTIMING_MESSAGE (Compact 2013)

3/28/2014

This structure is used by ILTiming.exe when it calls the KernelIoControl function 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

See Also

Reference

Kernel Structures
ILTiming.exe Real-Time Measurement Tool

Other Resources

OAL Structures
IOCTL_HAL_ILTIMING