spectrum: Update NS_LOG print format for ns3::Time

This commit is contained in:
Kim Ferrari
2020-04-16 06:20:26 -07:00
committed by Tom Henderson
parent 1d42de0f21
commit ede6419fc5

View File

@@ -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;
}