mammut::topology::Unit Class Referenceabstract

#include <topology.hpp>

Inheritance diagram for mammut::topology::Unit:
mammut::topology::Cpu mammut::topology::PhysicalCore mammut::topology::Topology mammut::topology::VirtualCore

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

virtual void mammut::topology::Unit::maximizeUtilization ( ) const
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.

virtual void mammut::topology::Unit::resetUtilization ( ) const
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: