X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/638b21d2071c77f39da2f322156f05f75bf91517..4736926935eb52f1e561715d2fa5a3fc4144a188:/src/surf/cpu_cas01.hpp diff --git a/src/surf/cpu_cas01.hpp b/src/surf/cpu_cas01.hpp index b98fd237e6..66dd3f7072 100644 --- a/src/surf/cpu_cas01.hpp +++ b/src/surf/cpu_cas01.hpp @@ -31,12 +31,11 @@ public: double (CpuCas01Model::*shareResources)(double now); void (CpuCas01Model::*updateActionsState)(double now, double delta); - Cpu *createCpu(const char *name, xbt_dynar_t speedPeak, int pstate, + Cpu *createCpu(simgrid::Host *host, 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, - xbt_dict_t cpu_properties); + tmgr_trace_t state_trace); double shareResourcesFull(double now); void addTraces(); ActionList *p_cpuRunningActionSetThatDoesNotNeedBeingChecked; @@ -48,10 +47,9 @@ public: class CpuCas01 : public Cpu { public: - CpuCas01(CpuCas01Model *model, const char *name, xbt_dynar_t speedPeak, + CpuCas01(CpuCas01Model *model, simgrid::Host *host, xbt_dynar_t speedPeak, int pstate, double speedScale, tmgr_trace_t speedTrace, int core, - e_surf_resource_state_t stateInitial, tmgr_trace_t stateTrace, - xbt_dict_t properties) ; + e_surf_resource_state_t stateInitial, tmgr_trace_t stateTrace) ; ~CpuCas01(); void updateState(tmgr_trace_event_t event_type, double value, double date); CpuAction *execute(double size);