|
| VirtualCoreIdleLevel (VirtualCoreId virtualCoreId, uint levelId) |
|
|
const VirtualCoreId | _virtualCoreId |
|
const uint | _levelId |
|
virtual void mammut::topology::VirtualCoreIdleLevel::disable |
( |
| ) |
const |
|
pure virtual |
virtual void mammut::topology::VirtualCoreIdleLevel::enable |
( |
| ) |
const |
|
pure virtual |
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: