diff --git a/src/devices/wifi/dcf-manager.cc b/src/devices/wifi/dcf-manager.cc index 9126c1585..6bc67e96d 100644 --- a/src/devices/wifi/dcf-manager.cc +++ b/src/devices/wifi/dcf-manager.cc @@ -11,7 +11,7 @@ NS_LOG_COMPONENT_DEFINE ("DcfManager"); #define MY_DEBUG(x) \ - NS_LOG_DEBUG (Simulator::Now () << " " x) + NS_LOG_DEBUG (Simulator::Now () << " " << this << " " << x) namespace ns3 { @@ -60,6 +60,7 @@ DcfState::UpdateBackoffSlotsNow (uint32_t nSlots, Time backoffUpdateBound) uint32_t n = std::min (nSlots, m_backoffSlots); m_backoffSlots -= n; m_backoffStart = backoffUpdateBound; + MY_DEBUG ("update slots="<