A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cosmetics.
[simgrid.git]
/
src
/
s4u
/
s4u_activity.cpp
diff --git
a/src/s4u/s4u_activity.cpp
b/src/s4u/s4u_activity.cpp
index
12343db
..
157010d
100644
(file)
--- a/
src/s4u/s4u_activity.cpp
+++ b/
src/s4u/s4u_activity.cpp
@@
-4,9
+4,10
@@
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
/* This program is free software; you can redistribute it and/or modify it
* under the terms of the license (GNU LGPL) which comes with this package. */
+#include "xbt/asserts.h"
#include "xbt/log.h"
#include "xbt/log.h"
+
#include "simgrid/s4u/Activity.hpp"
#include "simgrid/s4u/Activity.hpp"
-#include "../msg/msg_private.hpp"
XBT_LOG_EXTERNAL_CATEGORY(s4u);
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s4u_activity,s4u,"S4U activities");
XBT_LOG_EXTERNAL_CATEGORY(s4u);
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s4u_activity,s4u,"S4U activities");
@@
-14,13
+15,6
@@
XBT_LOG_NEW_DEFAULT_SUBCATEGORY(s4u_activity,s4u,"S4U activities");
namespace simgrid {
namespace s4u {
namespace simgrid {
namespace s4u {
-Activity::Activity() {
-
-}
-Activity::~Activity() {
-
-}
-
void Activity::setRemains(double remains) {
xbt_assert(state_ == inited, "Cannot change the remaining amount of work once the Activity is started");
remains_ = remains;
void Activity::setRemains(double remains) {
xbt_assert(state_ == inited, "Cannot change the remaining amount of work once the Activity is started");
remains_ = remains;