Good evaluation pictures
diff --git a/model/sync-logic.cc b/model/sync-logic.cc
index c0f2bd4..6e3a55c 100644
--- a/model/sync-logic.cc
+++ b/model/sync-logic.cc
@@ -52,7 +52,7 @@
, m_randomGenerator (static_cast<unsigned int> (std::time (0)))
, m_rangeUniformRandom (m_randomGenerator, uniform_int<> (20,80))
#else
- , m_rangeUniformRandom (20,80)
+ , m_rangeUniformRandom (1000,2000)
#endif
{
#ifdef _STANDALONE
@@ -339,7 +339,7 @@
// Otherwise we will get immediate reply from the local daemon and there will be 100% utilization
m_scheduler.cancel (REEXPRESSING_INTEREST);
// m_scheduler.schedule (posix_time::seconds (0),
- m_scheduler.schedule (TIME_SECONDS (m_syncResponseFreshness) + TIME_MILLISECONDS (1),
+ m_scheduler.schedule (TIME_MILLISECONDS (m_syncResponseFreshness) + TIME_MILLISECONDS (1),
bind (&SyncLogic::sendSyncInterest, this),
REEXPRESSING_INTEREST);
}
@@ -453,7 +453,6 @@
m_ccnxHandle->sendInterest (os.str (),
bind (&SyncLogic::processSyncData, this, _1, _2));
- _LOG_DEBUG ("What the fuck?? " << m_syncInterestReexpress);
m_scheduler.cancel (REEXPRESSING_INTEREST);
m_scheduler.schedule (TIME_SECONDS (m_syncInterestReexpress),
bind (&SyncLogic::sendSyncInterest, this),
diff --git a/model/sync-logic.h b/model/sync-logic.h
index c413808..3ddf45f 100644
--- a/model/sync-logic.h
+++ b/model/sync-logic.h
@@ -152,10 +152,10 @@
#endif
#ifdef NS3_MODULE
- static const int m_syncResponseFreshness = 10000; //
+ static const int m_syncResponseFreshness = 100; //
static const int m_syncInterestReexpress = 10000; // make sure it doesn't happen
#else
- static const int m_syncResponseFreshness = 2;
+ static const int m_syncResponseFreshness = 2000;
static const int m_syncInterestReexpress = 4;
#endif