[*] Optimize _NTLikeQueryFrequency under Win10
This commit is contained in:
parent
d14ba6cfd4
commit
d039055bc1
@ -149,6 +149,7 @@
|
||||
return uvalue;
|
||||
};
|
||||
_gNTClockMode = 2;
|
||||
_gNTTimeFreq = _gNTFreq();
|
||||
}
|
||||
|
||||
static void _NTDoClockInit()
|
||||
@ -208,7 +209,11 @@
|
||||
case 1:
|
||||
return _NT6_1_Query_Frequency();
|
||||
case 2:
|
||||
#if 0
|
||||
return _gNTFreq();
|
||||
#else
|
||||
return _gNTTimeFreq;
|
||||
#endif
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user