Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
previous version was initializing retval=0 and then testing retval!=MPI_ERR_REQUEST...
[simgrid.git] / src / surf / cpu_ti.hpp
index 752754a28565c66d45dcfb4b3e39b5c35268288c..66706438859d4d69641a4005734b3106e64c478a 100644 (file)
@@ -50,7 +50,7 @@ private:
 };
 
 enum trace_type {
-  
+
   TRACE_FIXED,                /*< Trace fixed, no availability file */
   TRACE_DYNAMIC               /*< Dynamic, availability file disponible */
 };
@@ -84,9 +84,7 @@ class CpuTiModel : public CpuModel {
 public:
   CpuTiModel();
   ~CpuTiModel();
-
-  void parseInit(sg_platf_host_cbarg_t host);
-  CpuTiPtr createResource(const char *name,  xbt_dynar_t powerPeak,
+  CpuPtr createCpu(const char *name,  xbt_dynar_t powerPeak,
                           int pstate, double power_scale,
                           tmgr_trace_t power_trace, int core,
                           e_surf_resource_state_t state_initial,
@@ -121,7 +119,7 @@ public:
        xbt_dict_t properties) ;
   ~CpuTi();
 
-  void updateState(tmgr_trace_event_t event_type, double value, double date);  
+  void updateState(tmgr_trace_event_t event_type, double value, double date);
   void updateActionsFinishTime(double now);
   bool isUsed();
   void printCpuTiModel();