Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
every occurence of power in surf should be renamed to speed, as it is not the electic...
[simgrid.git] / src / surf / cpu_interface.hpp
index e28550a..5ccd0c3 100644 (file)
@@ -171,9 +171,9 @@ public:
   void setState(e_surf_resource_state_t state);
 
   void addTraces(void);
-  int m_core;
-  double m_powerPeak;            /*< CPU power peak */
-  double m_powerScale;           /*< Percentage of CPU available */
+  int m_core = 1;                /* Amount of cores */
+  double m_speedPeak;            /*< CPU speed peak, ie max value */
+  double m_speedScale;           /*< Percentage of CPU available according to the trace, in [O,1] */
 
   /* Note (hypervisor): */
   lmm_constraint_t *p_constraintCore;