aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorluigi1111 <luigi1111w@gmail.com>2023-07-06 21:33:25 -0500
committerluigi1111 <luigi1111w@gmail.com>2023-07-06 21:33:25 -0500
commitf173bf6e726654fa1f4a952b35ea98e6cc633ac7 (patch)
tree194d1ccdc2be50a82aa48215d7fec0cac35307c9 /src/common
parentMerge pull request #8892 (diff)
parentSpeed up perf_timer init on x86 (diff)
downloadmonero-f173bf6e726654fa1f4a952b35ea98e6cc633ac7.tar.xz
Merge pull request #8895
26025cb Speed up perf_timer init on x86 (SChernykh)
Diffstat (limited to 'src/common')
-rw-r--r--src/common/perf_timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/perf_timer.cpp b/src/common/perf_timer.cpp
index 30164a557..9b0fe5561 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();