#include <cpu_ti.hpp>
§ CpuTiModel()
simgrid::surf::CpuTiModel::CpuTiModel |
( |
| ) |
|
§ ~CpuTiModel()
simgrid::surf::CpuTiModel::~CpuTiModel |
( |
| ) |
|
|
override |
§ createCpu()
Cpu * simgrid::surf::CpuTiModel::createCpu |
( |
simgrid::s4u::Host * |
host, |
|
|
std::vector< double > * |
speedPerPstate, |
|
|
int |
core |
|
) |
| |
|
overridevirtual |
Create a Cpu.
- Parameters
-
host | The host that will have this CPU |
speedPerPstate | Processor speed (in Flops) of each pstate. This ignores any potential external load coming from a trace. |
core | The number of core of this Cpu |
Implements simgrid::surf::CpuModel.
§ nextOccuringEvent()
double simgrid::surf::CpuTiModel::nextOccuringEvent |
( |
double |
now | ) |
|
|
overridevirtual |
Share the resources between the actions.
- Parameters
-
now | The current time of the simulation |
- Returns
- The delta of time till the next action will finish
Reimplemented from simgrid::surf::Model.
§ updateActionsState()
void simgrid::surf::CpuTiModel::updateActionsState |
( |
double |
now, |
|
|
double |
delta |
|
) |
| |
|
overridevirtual |
Update action to the current time.
- Parameters
-
now | The current time of the simulation |
delta | The delta of time since the last update |
Reimplemented from simgrid::surf::Model.
§ NotifyResourceTurnedOn()
§ NotifyResourceTurnedOff()
§ NotifyActionCancel()
void simgrid::surf::CpuTiModel::NotifyActionCancel |
( |
Action * |
| ) |
|
|
inlineprotected |
§ NotifyActionResume()
void simgrid::surf::CpuTiModel::NotifyActionResume |
( |
Action * |
| ) |
|
|
inlineprotected |
§ NotifyActionSuspend()
void simgrid::surf::CpuTiModel::NotifyActionSuspend |
( |
Action * |
| ) |
|
|
inlineprotected |
§ runningActionSetThatDoesNotNeedBeingChecked_
ActionList* simgrid::surf::CpuTiModel::runningActionSetThatDoesNotNeedBeingChecked_ |
§ modifiedCpu_
CpuTiList* simgrid::surf::CpuTiModel::modifiedCpu_ |
§ tiActionHeap_
xbt_heap_t simgrid::surf::CpuTiModel::tiActionHeap_ |
The documentation for this class was generated from the following files: