Merge pull request #8894

c589e15 Speed up perf_timer init on x86 (SChernykh)
This commit is contained in:
luigi1111 2023-07-06 21:32:11 -05:00
commit cfa4583695
No known key found for this signature in database
GPG Key ID: F4ACA0183641E010

View File

@ -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();