|
The Sparta Modeling Framework
|
Structure to represent a resource unit in device tree. More...
#include <CPUTopology.hpp>

Public Member Functions | |
| UnitInfo (const std::string &name, const std::string &parent_name, const std::string &human_name, const std::string &group_name, const uint32_t group_id, sparta::ResourceFactoryBase *factory, bool is_private_subtree=false) | |
| Constructor for UnitInfo. | |
Public Attributes | |
| std::string | name |
| ResourceTreeNode name. | |
| std::string | parent_name |
| ResourceTreeNode parent name. | |
| std::string | human_name |
| ResourceTreeNode human-readable name. | |
| std::string | group_name |
| TreeNode group name required for multiple execution units. | |
| uint32_t | group_id |
| TreeNode group id required for multiple execution units. | |
| sparta::ResourceFactoryBase * | factory |
| Factory required to create this particular resource. | |
| bool | is_private_subtree |
| Flag to tell whether this node should be private to its parent. | |
Structure to represent a resource unit in device tree.
Definition at line 32 of file CPUTopology.hpp.
|
inline |
Constructor for UnitInfo.
Definition at line 58 of file CPUTopology.hpp.
| sparta::ResourceFactoryBase* core_example::CPUTopology::UnitInfo::factory |
Factory required to create this particular resource.
Definition at line 50 of file CPUTopology.hpp.
| uint32_t core_example::CPUTopology::UnitInfo::group_id |
TreeNode group id required for multiple execution units.
Definition at line 47 of file CPUTopology.hpp.
| std::string core_example::CPUTopology::UnitInfo::group_name |
TreeNode group name required for multiple execution units.
Definition at line 44 of file CPUTopology.hpp.
| std::string core_example::CPUTopology::UnitInfo::human_name |
ResourceTreeNode human-readable name.
Definition at line 41 of file CPUTopology.hpp.
| bool core_example::CPUTopology::UnitInfo::is_private_subtree |
Flag to tell whether this node should be private to its parent.
Definition at line 53 of file CPUTopology.hpp.
| std::string core_example::CPUTopology::UnitInfo::name |
ResourceTreeNode name.
Definition at line 35 of file CPUTopology.hpp.
| std::string core_example::CPUTopology::UnitInfo::parent_name |
ResourceTreeNode parent name.
Definition at line 38 of file CPUTopology.hpp.