gem5.components.processors.switchable_processor.html
gem5.components.processors.switchable_processor module¶
- class gem5.components.processors.switchable_processor.SwitchableProcessor(switchable_cores: Dict[str, List[SimpleCore]], starting_cores: str)¶
Bases:
AbstractProcessor
This class can be used to setup a switchable processor/processors on a system using SimpleCores.
Though this class can be used directly, it is best inherited from. See SimpleSwitchableCPU for an example of this.
- abstract = False¶
- cxx_exports = []¶
- cxx_extra_bases = []¶
- cxx_param_exports = []¶
- cxx_template_params = []¶
- get_cores() List[AbstractCore] ¶
- get_num_cores() int ¶
- incorporate_processor(board: AbstractBoard) None ¶
- switch_to_processor(switchable_core_key: str)¶