reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

utils/benchmark/src/sleep.cc
   37   sleep_time.tv_sec = microseconds / kNumMicrosPerSecond;
   38   sleep_time.tv_nsec = (microseconds % kNumMicrosPerSecond) * kNumNanosPerMicro;
   39   while (nanosleep(&sleep_time, &sleep_time) != 0 && errno == EINTR)
   39   while (nanosleep(&sleep_time, &sleep_time) != 0 && errno == EINTR)