Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
doc is whining +indent
authorsuter <frederic.suter@cc.in2p3.fr>
Fri, 20 Jun 2014 08:24:59 +0000 (10:24 +0200)
committersuter <frederic.suter@cc.in2p3.fr>
Fri, 20 Jun 2014 09:05:41 +0000 (11:05 +0200)
src/surf/cpu_cas01.hpp
src/surf/cpu_interface.hpp

index 0993fea..1973257 100644 (file)
@@ -30,7 +30,7 @@ public:
   void (CpuCas01Model::*updateActionsState)(double now, double delta);
 
   CpuPtr createCpu(const char *name, xbt_dynar_t power_peak, int pstate,
-                                 double power_scale,
+                   double power_scale,
                           tmgr_trace_t power_trace, int core,
                           e_surf_resource_state_t state_initial,
                           tmgr_trace_t state_trace,
@@ -69,8 +69,8 @@ public:
 private:
   tmgr_trace_event_t p_stateEvent;
   tmgr_trace_event_t p_powerEvent;
-  xbt_dynar_t p_powerPeakList;                         /*< List of supported CPU capacities */
-  int m_pstate;                                                                /*< Current pstate (index in the power_peak_list)*/
+  xbt_dynar_t p_powerPeakList;       /*< List of supported CPU capacities */
+  int m_pstate;                      /*< Current pstate (index in the power_peak_list)*/
 };
 
 /**********
@@ -80,7 +80,8 @@ class CpuCas01Action: public CpuAction {
   friend CpuActionPtr CpuCas01::execute(double size);
   friend CpuActionPtr CpuCas01::sleep(double duration);
 public:
-  CpuCas01Action(ModelPtr model, double cost, bool failed, double power, lmm_constraint_t constraint);
+  CpuCas01Action(ModelPtr model, double cost, bool failed, double power,
+                 lmm_constraint_t constraint);
 
   ~CpuCas01Action() {};
 };
index f877b1f..c4bc20c 100644 (file)
@@ -78,7 +78,15 @@ public:
   /**
    * @brief Create a Cpu
    *
-   * @param host [TODO]
+   * @param name The name of the Cpu
+   * @param power_peak The power peak of this Cpu
+   * @param pstate [TODO]
+   * @param power_scale The power scale of this Cpu
+   * @param power_trace [TODO]
+   * @param core The number of core of this Cpu
+   * @param state_initial [TODO]
+   * @param state_trace [TODO]
+   * @param cpu_properties Dictionary of properties associated to this Cpu
    */
   virtual CpuPtr createCpu(const char *name, xbt_dynar_t power_peak,
                       int pstate, double power_scale,