equal
deleted
inserted
replaced
409 void Simulator::EnableLogTo (char const *filename) |
409 void Simulator::EnableLogTo (char const *filename) |
410 { |
410 { |
411 GetPriv ()->EnableLogTo (filename); |
411 GetPriv ()->EnableLogTo (filename); |
412 } |
412 } |
413 |
413 |
|
414 #ifdef NS3_LOG_ENABLE |
414 static void |
415 static void |
415 TimePrinter (std::ostream &os) |
416 TimePrinter (std::ostream &os) |
416 { |
417 { |
417 os << Simulator::Now (); |
418 os << Simulator::Now (); |
418 } |
419 } |
|
420 #endif /* NS3_LOG_ENABLE */ |
419 |
421 |
420 Ptr<SimulatorPrivate> |
422 Ptr<SimulatorPrivate> |
421 Simulator::GetPriv (void) |
423 Simulator::GetPriv (void) |
422 { |
424 { |
423 if (m_priv == 0) |
425 if (m_priv == 0) |