diff options
Diffstat (limited to 'src/bench/examples.cpp')
-rw-r--r-- | src/bench/examples.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bench/examples.cpp b/src/bench/examples.cpp index 3595249559..a2fdab5609 100644 --- a/src/bench/examples.cpp +++ b/src/bench/examples.cpp @@ -1,4 +1,4 @@ -// Copyright (c) 2015-2018 The Bitcoin Core developers +// Copyright (c) 2015-2019 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. @@ -10,7 +10,7 @@ static void Sleep100ms(benchmark::State& state) { while (state.KeepRunning()) { - MilliSleep(100); + UninterruptibleSleep(std::chrono::milliseconds{100}); } } |