_mm_monitor

Microsoft Specific

Generates the monitor instruction.

void _mm_monitor( 
   const void* Address,
   unsigned int a,
   unsigned int b
);

Parameters

  • [in] Address
    Address to monitor.

  • [in] a
    Reserved.

  • [in] b
    Reserved.

Requirements

Intrinsic

Architecture

_mm_monitor

SSE3

Header file <intrin.h>

Remarks

The monitor instruction sets up an address range for hardware monitoring. The values of a and b correspond to the values in ECX and EDX used by the monitor instruction. They are reserved for future use and should be zero for the SSE3-enabled processor. For more information, see the Intel or AMD documentation as appropriate.

注意

Some chips support the SSE3 intrinsics but do not support _mm_mwait and _mm_monitor.You should use __cpuid to determine whether this intrinsic is available.

This routine is available only as an intrinsic.

See Also

Concepts

_mm_mwait

Compiler Intrinsics