From 413799cfe561783d15fd265572b26aec45349248 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 30 Sep 2016 11:21:58 +0200 Subject: [PATCH] typo and cosmetics --- src/surf/cpu_cas01.cpp | 6 +----- src/surf/trace_mgr.hpp | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/surf/cpu_cas01.cpp b/src/surf/cpu_cas01.cpp index feb1c57f4b..170018077a 100644 --- a/src/surf/cpu_cas01.cpp +++ b/src/surf/cpu_cas01.cpp @@ -173,11 +173,7 @@ void CpuCas01::apply_event(tmgr_trace_iterator_t event, double value) CpuAction *CpuCas01::execution_start(double size) { - XBT_IN("(%s,%g)", getName(), size); - CpuCas01Action *action = new CpuCas01Action(getModel(), size, isOff(), speed_.scale * speed_.peak, getConstraint()); - - XBT_OUT(); - return action; + return new CpuCas01Action(getModel(), size, isOff(), speed_.scale * speed_.peak, getConstraint()); } CpuAction *CpuCas01::sleep(double duration) diff --git a/src/surf/trace_mgr.hpp b/src/surf/trace_mgr.hpp index 26f221372f..bf4519912d 100644 --- a/src/surf/trace_mgr.hpp +++ b/src/surf/trace_mgr.hpp @@ -65,7 +65,7 @@ XBT_PUBLIC_CLASS trace_iterator { /** @brief A trace is a set of timed values, encoding the value that a variable takes at what time * * * It is useful to model dynamic platforms, where an external load that makes the resource availability change over time. - * To model that, you have to set several traces per resource: one for the on/off state and one for each numerical value (computational speed, bandwidt and latency). + * To model that, you have to set several traces per resource: one for the on/off state and one for each numerical value (computational speed, bandwidth and latency). */ XBT_PUBLIC_CLASS trace { public: -- 2.20.1