tickcount:integer;\r
settimebias:tunixtimeint;\r
performancecountfreq:extended;\r
tickcount:integer;\r
settimebias:tunixtimeint;\r
performancecountfreq:extended;\r
\r
function irctimefloat:float;\r
function irctimeint:tunixtimeint;\r
\r
function irctimefloat:float;\r
function irctimeint:tunixtimeint;\r
var\r
f,g,h:float;\r
begin\r
var\r
f,g,h:float;\r
begin\r
- if not win8inited then initwin8;\r
- if assigned(@GetSystemTimePreciseAsFileTime) then begin\r
- result := unixtimefloat_win8;\r
- exit;\r
+ if not btimenowin8 then begin\r
+ if not win8inited then initwin8;\r
+ if assigned(@GetSystemTimePreciseAsFileTime) then begin\r
+ result := unixtimefloat_win8;\r
+ exit;\r
+ end; \r
end;\r
\r
result := monotimefloat+timefloatbias;\r
end;\r
\r
result := monotimefloat+timefloatbias;\r