mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 00:07:38 +00:00
Merge pull request #8895
26025cb
Speed up perf_timer init on x86 (SChernykh)
This commit is contained in:
commit
f173bf6e72
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ namespace tools
|
||||||
while (1)
|
while (1)
|
||||||
{
|
{
|
||||||
t1 = epee::misc_utils::get_ns_count();
|
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();
|
uint64_t r1 = get_tick_count();
|
||||||
|
|
Loading…
Reference in a new issue