Make sure the QPC frequency is cached so the timer can be used

This commit is contained in:
Tim Mayberry 2015-09-16 22:22:00 +10:00
parent 7b82277c7e
commit 9bd893a6a2

View File

@ -189,6 +189,7 @@ get_microseconds ()
int64_t
get_microseconds ()
{
qpc_frequency_cached();
if (qpc_frequency_success()) {
return QPC::get_microseconds ();
}