The Sparta Modeling Framework
|
CoreTopology_1 topology class. More...
#include <CPUTopology.hpp>
Public Member Functions | |
CoreTopology_1 () | |
Constructor for CPUTopology. | |
Public Member Functions inherited from core_example::CPUTopology | |
CPUTopology () | |
Constructor for CPUTopology. | |
auto | setName (const std::string &topology) -> void |
Set the name for this topoplogy. | |
auto | setNumCores (const uint32_t num_of_cores) -> void |
Set the number of cores in this processor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from core_example::CPUTopology | |
static auto | allocateTopology (const std::string &topology) -> CPUTopology * |
Static method to allocate memory for topology. | |
Public Attributes inherited from core_example::CPUTopology | |
uint32_t | num_cores |
Public members used by CPUFactory to build and bind tree. | |
std::unique_ptr< CPUFactories > | factories |
std::string | topology_name |
std::vector< UnitInfo > | units |
std::vector< PortConnectionInfo > | port_connections |
CoreTopology_1 topology class.
Definition at line 127 of file CPUTopology.hpp.
core_example::CoreTopology_1::CoreTopology_1 | ( | ) |
Constructor for CPUTopology.
Constructor for CPUTopology_1.
Instantiating units of this topology
Instantiating ports of this topology
Definition at line 9 of file CPUTopology.cpp.