aboutsummaryrefslogtreecommitdiff
path: root/src/bench/examples.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/examples.cpp')
-rw-r--r--src/bench/examples.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/examples.cpp b/src/bench/examples.cpp
index 60a4fbf0ba..a2fdab5609 100644
--- a/src/bench/examples.cpp
+++ b/src/bench/examples.cpp
@@ -10,7 +10,7 @@
static void Sleep100ms(benchmark::State& state)
{
while (state.KeepRunning()) {
- MilliSleep(100);
+ UninterruptibleSleep(std::chrono::milliseconds{100});
}
}