mammut::topology::Unit Class Referenceabstract
#include <topology.hpp>
Inheritance diagram for mammut::topology::Unit:
Public Member Functions | |
virtual void | maximizeUtilization () const =0 |
virtual void | resetUtilization () const =0 |
Detailed Description
Generic topology unit. It may be a CPU, Physical Core or Virtual Core.
Member Function Documentation
|
pure virtual |
Bring the utilization of this unit to 100% until resetUtilization() is called.
Implemented in mammut::topology::VirtualCore, mammut::topology::PhysicalCore, and mammut::topology::Cpu.
|
pure virtual |
Resets the utilization of this unit.
Implemented in mammut::topology::VirtualCore, mammut::topology::PhysicalCore, and mammut::topology::Cpu.
The documentation for this class was generated from the following file:
- /home/daniele/Code/Mammut/mammut/topology/topology.hpp