src/simulator/time.cc
changeset 7044 f94b264549d1
parent 7040 444bb5c76bff
equal deleted inserted replaced
7043:1a8ff65327d0 7044:f94b264549d1
   163     case Time::LAST:
   163     case Time::LAST:
   164       NS_ABORT_MSG ("can't be reached");
   164       NS_ABORT_MSG ("can't be reached");
   165       unit = "unreachable";
   165       unit = "unreachable";
   166       break;
   166       break;
   167     }
   167     }
   168   int64x64_t v = time.To ();
   168   int64x64_t v = time;
   169   os << v << unit;
   169   os << v << unit;
   170   return os;
   170   return os;
   171 }
   171 }
   172 std::istream& operator>> (std::istream& is, Time & time)
   172 std::istream& operator>> (std::istream& is, Time & time)
   173 {
   173 {