class X86IdleState

Defined at line 74 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

Public Methods

void X86IdleState ()

Defined at line 76 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

void X86IdleState (const x86_idle_state_t * state)

Defined at line 77 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

const char * Name ()

Defined at line 80 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

uint32_t MwaitHint ()

Returns the hint to provide to MWAIT to enter this state.

Defined at line 83 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

zx_duration_t ExitLatency ()

Returns the expected latency (in us) of exiting the C-state.

Defined at line 86 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

bool IsBaseState ()

Defined at line 90 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

bool FlushesTlb ()

Defined at line 92 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

uint64_t TimesEntered ()

Returns the number of times the system entered this state since the last

call to ResetCounters().

Defined at line 96 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

zx_duration_t CumulativeDuration ()

Returns total time the system has spent in this state since the last

call to ResetCounters()

Defined at line 100 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

void ResetCounters ()

Resets the entry and duration counters.

Defined at line 103 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

void CountEntry ()

Marks the idle state as entered.

Defined at line 109 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h

void RecordDuration (zx_duration_t duration)

Records that the system spent |duration| in this state before exiting.

Defined at line 112 of file ../../zircon/kernel/arch/x86/include/arch/x86/idle_states.h