third_party/benchmark/src/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_
absl::time_internal::cctz::seconds
std::chrono::duration< std::int_fast64_t > seconds
Definition: abseil-cpp/absl/time/internal/cctz/include/cctz/time_zone.h:40
benchmark
Definition: bm_alarm.cc:55
benchmark::kNumMicrosPerMilli
const int kNumMicrosPerMilli
Definition: third_party/benchmark/src/sleep.h:6
benchmark::kNumMicrosPerSecond
const int kNumMicrosPerSecond
Definition: third_party/benchmark/src/sleep.h:7
benchmark::kNumMillisPerSecond
const int kNumMillisPerSecond
Definition: third_party/benchmark/src/sleep.h:5
benchmark::SleepForMilliseconds
void SleepForMilliseconds(int milliseconds)
Definition: third_party/benchmark/src/sleep.cc:59
benchmark::kNumNanosPerMicro
const int kNumNanosPerMicro
Definition: third_party/benchmark/src/sleep.h:8
benchmark::kNumNanosPerSecond
const int kNumNanosPerSecond
Definition: third_party/benchmark/src/sleep.h:9
benchmark::SleepForSeconds
void SleepForSeconds(double seconds)
Definition: third_party/benchmark/src/sleep.cc:63


grpc
Author(s):
autogenerated on Fri May 16 2025 03:00:13