sleep.h
Go to the documentation of this file.
1 #ifndef BENCHMARK_SLEEP_H_
2 #define BENCHMARK_SLEEP_H_
3 
4 namespace benchmark {
5 const int kNumMillisPerSecond = 1000;
6 const int kNumMicrosPerMilli = 1000;
8 const int kNumNanosPerMicro = 1000;
10 
11 void SleepForMilliseconds(int milliseconds);
12 void SleepForSeconds(double seconds);
13 } // end namespace benchmark
14 
15 #endif // BENCHMARK_SLEEP_H_
benchmark
Definition: benchmark.h:241
benchmark::kNumMicrosPerMilli
const int kNumMicrosPerMilli
Definition: sleep.h:6
benchmark::kNumMicrosPerSecond
const int kNumMicrosPerSecond
Definition: sleep.h:7
benchmark::kNumMillisPerSecond
const int kNumMillisPerSecond
Definition: sleep.h:5
benchmark::SleepForMilliseconds
void SleepForMilliseconds(int milliseconds)
Definition: sleep.cc:43
benchmark::kNumNanosPerMicro
const int kNumNanosPerMicro
Definition: sleep.h:8
benchmark::kNumNanosPerSecond
const int kNumNanosPerSecond
Definition: sleep.h:9
benchmark::SleepForSeconds
void SleepForSeconds(double seconds)
Definition: sleep.cc:47


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:06:58