Make sure the QPC frequency is cached so the timer can be used
This commit is contained in:
parent
7b82277c7e
commit
9bd893a6a2
@ -189,6 +189,7 @@ get_microseconds ()
|
||||
int64_t
|
||||
get_microseconds ()
|
||||
{
|
||||
qpc_frequency_cached();
|
||||
if (qpc_frequency_success()) {
|
||||
return QPC::get_microseconds ();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user