mammut::topology::VirtualCoreIdleLevel Class Referenceabstract

Public Member Functions

VirtualCoreId getVirtualCoreId () const
 
uint getLevelId () const
 
virtual std::string getName () const =0
 
virtual std::string getDesc () const =0
 
virtual bool isEnableable () const =0
 
virtual bool isEnabled () const =0
 
virtual void enable () const =0
 
virtual void disable () const =0
 
virtual uint getExitLatency () const =0
 
virtual uint getConsumedPower () const =0
 
virtual uint getAbsoluteTime () const =0
 
virtual uint getTime () const =0
 
virtual void resetTime ()=0
 
virtual uint getAbsoluteCount () const =0
 
virtual uint getCount () const =0
 
virtual void resetCount ()=0
 

Protected Member Functions

 VirtualCoreIdleLevel (VirtualCoreId virtualCoreId, uint levelId)
 

Protected Attributes

const VirtualCoreId _virtualCoreId
 
const uint _levelId
 

Member Function Documentation

virtual void mammut::topology::VirtualCoreIdleLevel::disable ( ) const
pure virtual

Disables this level.

virtual void mammut::topology::VirtualCoreIdleLevel::enable ( ) const
pure virtual

Enables this level.

virtual uint mammut::topology::VirtualCoreIdleLevel::getAbsoluteCount ( ) const
pure virtual

Returns the number of times this level was entered. It is updated only when there is a level change. Accordingly, it could be inaccurate.

Returns
The number of times this level was entered.
virtual uint mammut::topology::VirtualCoreIdleLevel::getAbsoluteTime ( ) const
pure virtual

Returns the total time spent in this level (in microseconds). It is updated only when there is a level change. Accordingly, it could be inaccurate.

Returns
The total time spent in this level (in microseconds).
virtual uint mammut::topology::VirtualCoreIdleLevel::getConsumedPower ( ) const
pure virtual

Returns the power consumed while in this level (in milliwatts).

Returns
The power consumed while in this level (in milliwatts).
virtual uint mammut::topology::VirtualCoreIdleLevel::getCount ( ) const
pure virtual

Returns the number of times this level was entered. since the last call of resetCount() (or since the creation of this object). It is updated only when there is a level change. Accordingly, it could be inaccurate.

Returns
The number of times this level was entered.
virtual std::string mammut::topology::VirtualCoreIdleLevel::getDesc ( ) const
pure virtual

Returns a small description about this level.

Returns
A small description about this level.
virtual uint mammut::topology::VirtualCoreIdleLevel::getExitLatency ( ) const
pure virtual

Returns the latency to exit from this level (in microseconds).

Returns
The latency to exit from this level (in microseconds).
uint mammut::topology::VirtualCoreIdleLevel::getLevelId ( ) const

Returns the identifier of this idle level.

Returns
The identifier of this idle level.
virtual std::string mammut::topology::VirtualCoreIdleLevel::getName ( ) const
pure virtual

Returns the name of this level.

Returns
The name of this level.
virtual uint mammut::topology::VirtualCoreIdleLevel::getTime ( ) const
pure virtual

Returns the total time spent in this level (in microseconds) since the last call of resetTime() (or since the creation of this object). It is updated only when there is a level change. Accordingly, it could be inaccurate.

Returns
The total time spent in this level (in microseconds).
VirtualCoreId mammut::topology::VirtualCoreIdleLevel::getVirtualCoreId ( ) const

Returns the virtual core identifier associated of this level.

Returns
The virtual core identifier associated of this level.
virtual bool mammut::topology::VirtualCoreIdleLevel::isEnableable ( ) const
pure virtual

Returns true if this level can be dynamically enabled/disabled.

Returns
True if this level can be dynamically enabled/disabled.
virtual bool mammut::topology::VirtualCoreIdleLevel::isEnabled ( ) const
pure virtual

Returns true if this level is enabled.

Returns
True if this level is enabled, false otherwise.
virtual void mammut::topology::VirtualCoreIdleLevel::resetCount ( )
pure virtual

Resets the count of this level.

virtual void mammut::topology::VirtualCoreIdleLevel::resetTime ( )
pure virtual

Resets the time spent in this level.


The documentation for this class was generated from the following file: