diff options
author | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-05-25 13:49:37 +0300 |
---|---|---|
committer | Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com> | 2021-05-25 13:49:37 +0300 |
commit | 1380d0cbac91821488a1f0a494cb220ae864a252 (patch) | |
tree | 4d8c5cae473e45eda41986c17a49eb054f1a54f3 /programs | |
parent | a93b8521afb5d858f423de7accdc6d9d4504e7cb (diff) |
Fix bug where native Linux dynamic_thread_pool_group would schedule delayed work items inverted to correctness.
Diffstat (limited to 'programs')
-rw-r--r-- | programs/benchmark-io-congestion/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/programs/benchmark-io-congestion/main.cpp b/programs/benchmark-io-congestion/main.cpp index ea902938..f7e929a5 100644 --- a/programs/benchmark-io-congestion/main.cpp +++ b/programs/benchmark-io-congestion/main.cpp @@ -210,7 +210,7 @@ struct llfio_runner_paced if(last_pace != d.nsecs) { parent->last_pace.store(d.nsecs, std::memory_order_relaxed); - std::cout << "Pacing work by milliseconds " << (d.nsecs / 1000.0) << std::endl; + std::cout << "Pacing work by milliseconds " << (d.nsecs / 1000000.0) << std::endl; } #endif return parent->cancel.load(std::memory_order_relaxed) ? -1 : 1; |