class MwaitMonitorArray
Defined at line 49 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
An array of mwait/monitor objects with optimal alignment.
Public Methods
void MwaitMonitorArray ()
Defined at line 51 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
void ~MwaitMonitorArray ()
Defined at line 52 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
void MwaitMonitorArray (const MwaitMonitorArray & )
Defined at line 56 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
void MwaitMonitorArray (MwaitMonitorArray && )
Defined at line 56 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
MwaitMonitorArray & operator= (const MwaitMonitorArray & )
Defined at line 56 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
MwaitMonitorArray & operator= (MwaitMonitorArray && )
Defined at line 56 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
zx_status_t Init (size_t cpu_count)
Initialize this instance with enough monitors for |cpu_count| CPUs.
It is an error to successfully initialize a given instance more than once.
Defined at line 61 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h
MwaitMonitor & GetForCpu (cpu_num_t cpu_num)
Return a mutable reference to the monitor for |cpu_num|.
Note, the monitors held by this array will be destroyed when this array is destroyed.
Defined at line 88 of file ../../zircon/kernel/arch/x86/include/arch/x86/mwait_monitor.h