The Pedigree Project 0.1
Public Types | Public Member Functions | Private Attributes | List of all members
PcSchedulerTimerSelection Class Reference

#include <PcSchedulerTimerSelection.h>

+ Collaboration diagram for PcSchedulerTimerSelection:

Public Types

enum class  Source { Pit , LocalApic }
 

Public Member Functions

void recordLocalApicInitialisation (bool succeeded)
 
Source source () const
 
bool usesPit () const
 
bool usesLocalApic () const
 

Private Attributes

Source m_Source
 

Detailed Description

Runtime scheduler-timer choice for PC machines.

PIT is the safe default. The local APIC timer is selected only after its complete bootstrap-processor initialisation has succeeded.

Definition at line 18 of file PcSchedulerTimerSelection.h.

Member Enumeration Documentation

◆ Source

enum class PcSchedulerTimerSelection::Source
strong

Definition at line 20 of file PcSchedulerTimerSelection.h.

Constructor & Destructor Documentation

◆ PcSchedulerTimerSelection()

PcSchedulerTimerSelection::PcSchedulerTimerSelection ( )
inline

Definition at line 25 of file PcSchedulerTimerSelection.h.

Member Function Documentation

◆ recordLocalApicInitialisation()

void PcSchedulerTimerSelection::recordLocalApicInitialisation ( bool  succeeded)
inline

Definition at line 27 of file PcSchedulerTimerSelection.h.

◆ source()

Source PcSchedulerTimerSelection::source ( ) const
inline

Definition at line 31 of file PcSchedulerTimerSelection.h.

◆ usesLocalApic()

bool PcSchedulerTimerSelection::usesLocalApic ( ) const
inline

Definition at line 39 of file PcSchedulerTimerSelection.h.

◆ usesPit()

bool PcSchedulerTimerSelection::usesPit ( ) const
inline

Definition at line 35 of file PcSchedulerTimerSelection.h.

Member Data Documentation

◆ m_Source

Source PcSchedulerTimerSelection::m_Source
private

Definition at line 44 of file PcSchedulerTimerSelection.h.


The documentation for this class was generated from the following file: