Checkpoint
diff --git a/ns3/sync-scheduler.cc b/ns3/sync-scheduler.cc
index 7f39f38..95e4bf8 100644
--- a/ns3/sync-scheduler.cc
+++ b/ns3/sync-scheduler.cc
@@ -50,6 +50,8 @@
void
Scheduler::schedule (const TimeDuration &reltime, Event event, uint32_t label)
{
+ NS_LOG_DEBUG ("Schedule event for " << (Simulator::Now () +reltime).ToDouble (Time::S) << "s for label " << label);
+
list< EventId > &eventsForLabel = m_labeledEvents [label];
list< EventId >::iterator i = eventsForLabel.begin ();
while (i != eventsForLabel.end ())
@@ -73,6 +75,7 @@
Scheduler::cancel (uint32_t label)
{
list< EventId > &eventsForLabel = m_labeledEvents [label];
+ NS_LOG_DEBUG ("Canceling events for label " << label << " (" << eventsForLabel.size () << " events)");
for (list< EventId >::iterator i = eventsForLabel.begin ();
i != eventsForLabel.end ();