[Alignment][NFC] Use Align with TargetLowering::setMinFunctionAlignment
[llvm-core.git] / utils / benchmark / src / sleep.h
blobf98551afe28491f41077dbfaa2b526231061968b
1 #ifndef BENCHMARK_SLEEP_H_
2 #define BENCHMARK_SLEEP_H_
4 namespace benchmark {
5 const int kNumMillisPerSecond = 1000;
6 const int kNumMicrosPerMilli = 1000;
7 const int kNumMicrosPerSecond = kNumMillisPerSecond * 1000;
8 const int kNumNanosPerMicro = 1000;
9 const int kNumNanosPerSecond = kNumNanosPerMicro * kNumMicrosPerSecond;
11 void SleepForMilliseconds(int milliseconds);
12 void SleepForSeconds(double seconds);
13 } // end namespace benchmark
15 #endif // BENCHMARK_SLEEP_H_