Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
typo and cosmetics
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 30 Sep 2016 09:21:58 +0000 (11:21 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 30 Sep 2016 20:52:33 +0000 (22:52 +0200)
src/surf/cpu_cas01.cpp
src/surf/trace_mgr.hpp

index feb1c57..1700180 100644 (file)
@@ -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)
index 26f2213..bf45199 100644 (file)
@@ -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: