aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/simulator.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simulator.cc b/src/simulator.cc
index d957471..0bf2d2f 100644
--- a/src/simulator.cc
+++ b/src/simulator.cc
@@ -96,6 +96,7 @@ static void obs_node(std::vector<std::string> args) {
if(isSender){ // If I am a sender
Payload *p=new Payload();
if(useHint&&i.HasNext()){
+ p->containsHint=true;
p->hint=i.GetNextTS();
p->duration=i.GetNextDuration();
}
@@ -132,8 +133,7 @@ static void obs_node(std::vector<std::string> args) {
i.GotoNextEvent();
nWakeUp++; // Increase the number of wake up
}
-
-
// Done
+ TURN_OFF()
XBT_INFO("Observation node %s finished (nWakeUp:%d|nDataRcv:%d)",selfName.c_str(),nWakeUp,nDataRcv);
} \ No newline at end of file