QueryPerformanceCount & QueryPerformancefrequency
QueryPerformanceCount & QueryPerformancefrequency
I want to get the Systems uptime WITHOUT using GetTickCount. What opportunities do I have there?
Can I fix this with QueryPerformanceCount?
Can I fix this with QueryPerformanceCount?
gna
Meinte ich doch......
How can I do this?
I thought of something like
but this gives me nonesense
Meinte ich doch......
How can I do this?
I thought of something like
Code: Select all
[...]
var
uptime, count, freq : Int64;
begin
QueryPerformanceCounter(count);
QueryPerformanceFrequency(freq);
uptime := count / freq;
end;