spectrum: Update NS_LOG print format for ns3::Time
This commit is contained in:
committed by
Tom Henderson
parent
1d42de0f21
commit
ede6419fc5
@@ -733,7 +733,7 @@ ThreeGppChannelModel::ChannelMatrixNeedsUpdate (Ptr<const ThreeGppChannelMatrix>
|
||||
// if the coherence time is over the channel has to be updated
|
||||
if (!m_updatePeriod.IsZero () && Simulator::Now() - channelMatrix->m_generatedTime > m_updatePeriod)
|
||||
{
|
||||
NS_LOG_DEBUG ("Generation time " << channelMatrix->m_generatedTime.GetNanoSeconds () << " now " << Simulator::Now ().GetNanoSeconds ());
|
||||
NS_LOG_DEBUG ("Generation time " << channelMatrix->m_generatedTime.As (Time::NS) << " now " << Now ().As (Time::NS));
|
||||
update = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user