- ~CpuTiModel();
- Cpu *createCpu(const char *name, xbt_dynar_t speedPeak,
- int pstate, double speedScale,
- tmgr_trace_t speedTrace, int core,
- e_surf_resource_state_t state_initial,
- tmgr_trace_t state_trace);
- double shareResources(double now);
- void updateActionsState(double now, double delta);
- void addTraces();
-
- ActionList *p_runningActionSetThatDoesNotNeedBeingChecked;
- CpuTiList *p_modifiedCpu;
- xbt_heap_t p_tiActionHeap;
-
-protected:
- void NotifyResourceTurnedOn(simgrid::surf::Resource*){};
- void NotifyResourceTurnedOff(simgrid::surf::Resource*){};
-
- void NotifyActionCancel(Action*){};
- void NotifyActionResume(Action*){};
- void NotifyActionSuspend(Action*){};
+ ~CpuTiModel() override;
+ Cpu *createCpu(simgrid::s4u::Host *host, std::vector<double>* speedPerPstate, int core) override;
+ double nextOccuringEvent(double now) override;
+ void updateActionsState(double now, double delta) override;
+
+ ActionList *runningActionSetThatDoesNotNeedBeingChecked_;
+ CpuTiList *modifiedCpu_;