gem5.components.processors.simple_switchable_processor module

class gem5.components.processors.simple_switchable_processor.SimpleSwitchableProcessor(starting_core_type: CPUTypes, switch_core_type: CPUTypes, num_cores: int, isa: ISA = None)

Bases: SwitchableProcessor

A Simplified implementation of SwitchableProcessor where there is one processor at the start of the simuation, and another that can be switched to via the “switch” function later in the simulation. This is good for fast/detailed CPU setups.

abstract = False
cxx_exports = []
cxx_extra_bases = []
cxx_param_exports = []
cxx_template_params = []
incorporate_processor(board: AbstractBoard) None
switch()

Switches to the “switched out” cores.