diff options
author | luigi1111 <luigi1111w@gmail.com> | 2023-07-06 21:32:11 -0500 |
---|---|---|
committer | luigi1111 <luigi1111w@gmail.com> | 2023-07-06 21:32:11 -0500 |
commit | cfa45836951d948eb9c4c76c5d5f97bbfbb514e3 (patch) | |
tree | a85687b97a2b2eadcaca66f108dbf15cdc804257 /src | |
parent | Merge pull request #8854 (diff) | |
parent | Speed up perf_timer init on x86 (diff) | |
download | monero-cfa45836951d948eb9c4c76c5d5f97bbfbb514e3.tar.xz |
Merge pull request #8894
c589e15 Speed up perf_timer init on x86 (SChernykh)
Diffstat (limited to 'src')
-rw-r--r-- | src/common/perf_timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/perf_timer.cpp b/src/common/perf_timer.cpp index 2b67154e5..229748994 100644 --- a/src/common/perf_timer.cpp +++ b/src/common/perf_timer.cpp @@ -62,7 +62,7 @@ namespace tools while (1) { t1 = epee::misc_utils::get_ns_count(); - if (t1 - t0 > 1*1000000000) break; // work one second + if (t1 - t0 > 1*100000000) break; // work 0.1 seconds } uint64_t r1 = get_tick_count(); |