Expand Minimize

HV_CPU_COUNTER enumeration

The HV_CPU_COUNTER enumeration contains values for counters for a logical processor.

Syntax


typedef enum _HV_CPU_COUNTER { 
  StLpCounterGlobalTime                    = 1,
  StLpCounterTotalRunTime                  = 2,
  StLpCounterHypervisorRunTime             = 3,
  StLpCounterHardwareInterrupts            = 4,
  StLpCounterContextSwitches               = 5,
  StLpCounterInterProcessorInterrupts      = 6,
  StLpCounterSchedulerInterrupts           = 7,
  StLpCounterTimerInterrupts               = 8,
  StLpCounterInterProcessorInterruptsSent  = 9,
  StLpCounterProcessorHalts                = 10,
  StLpCounterMonitorTransitionCost         = 11,
  StLpCounterContextSwitchTime             = 12,
  StLpCounterC1TransitionsCount            = 13,
  StLpCounterC1RunTime                     = 14,
  StLpCounterC2TransitionsCount            = 15,
  StLpCounterC2RunTime                     = 16,
  StLpCounterC3TransitionsCount            = 17,
  StLpCounterC3RunTime                     = 18,
  StLpCounterMAXIMUM                       = 19
} HV_CPU_COUNTER;

Constants

StLpCounterGlobalTime

A value that specifies a counter of global time.

StLpCounterTotalRunTime

A value that specifies a counter of total run time.

StLpCounterHypervisorRunTime

A value that specifies a counter of hypervisor run time.

StLpCounterHardwareInterrupts

A value that specifies a counter of hardware interrupts.

StLpCounterContextSwitches

A value that specifies a counter of context switches.

StLpCounterInterProcessorInterrupts

A value that specifies a counter of interprocessor interrupts.

StLpCounterSchedulerInterrupts

A value that specifies a counter of scheduler interrupts.

StLpCounterTimerInterrupts

A value that specifies a counter of timer interrupts.

StLpCounterInterProcessorInterruptsSent

A value that specifies a counter of interprocessor interrupts that were sent.

StLpCounterProcessorHalts

A value that specifies a counter of stopping of the processor.

StLpCounterMonitorTransitionCost

A value that specifies a counter of monitor transition cost.

StLpCounterContextSwitchTime

A value that specifies a counter of context switch time.

StLpCounterC1TransitionsCount

A value that specifies a counter of C1 transitions count.

StLpCounterC1RunTime

A value that specifies a counter of C1 transitions run time.

StLpCounterC2TransitionsCount

A value that specifies a counter of C2 transitions count.

StLpCounterC2RunTime

A value that specifies a counter of C2 transitions run time.

StLpCounterC3TransitionsCount

A value that specifies a counter of C3 transitions count.

StLpCounterC3RunTime

A value that specifies a counter of C3 transitions run time.

StLpCounterMAXIMUM

A value that indicates that the maximum value in the enumeration was exceeded.

Remarks

Requirements

Header

Hvgdk.h (include Hvgdk.h)

 

 

Send comments about this topic to Microsoft

Build date: 11/16/2013

Show:
© 2014 Microsoft. All rights reserved.