56 time_.tv_nsec += nsec;
81 throw std::runtime_error(
"Can't get current time");
89 if (time_.tv_sec < ref.time_.tv_sec)
91 else if ((time_.tv_sec == ref.time_.tv_sec) &&
92 (time_.tv_nsec < ref.time_.tv_nsec))
102 if (time_.tv_sec > ref.time_.tv_sec)
104 else if ((time_.tv_sec == ref.time_.tv_sec) &&
105 (time_.tv_nsec > ref.time_.tv_nsec))
116 if ((time_.tv_sec == ref.time_.tv_sec) &&
117 (time_.tv_nsec == ref.time_.tv_nsec))
133 throw std::runtime_error(
"Can't get time resoultion");