From 3f12121b93bc246909bf9f8e1615af532bd9a9b5 Mon Sep 17 00:00:00 2001 From: suter Date: Fri, 20 Jun 2014 10:24:59 +0200 Subject: [PATCH] doc is whining +indent --- src/surf/cpu_cas01.hpp | 9 +++++---- src/surf/cpu_interface.hpp | 10 +++++++++- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/surf/cpu_cas01.hpp b/src/surf/cpu_cas01.hpp index 0993fea896..197325762c 100644 --- a/src/surf/cpu_cas01.hpp +++ b/src/surf/cpu_cas01.hpp @@ -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() {}; }; diff --git a/src/surf/cpu_interface.hpp b/src/surf/cpu_interface.hpp index f877b1ffab..c4bc20c5bf 100644 --- a/src/surf/cpu_interface.hpp +++ b/src/surf/cpu_interface.hpp @@ -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, -- 2.20.1