Skip to content

Commit

Permalink
Merge pull request #8895
Browse files Browse the repository at this point in the history
26025cb Speed up perf_timer init on x86 (SChernykh)
  • Loading branch information
luigi1111 committed Jul 7, 2023
2 parents a41453c + 26025cb commit f173bf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/perf_timer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit f173bf6

Please sign in to comment.