演示 QueryPerformanceCounter(), 它提供了比 A_TickCount 的 10ms 更高的精确度.
响应站长号召,将帮助文档的中例子分享给大家!大家一起来!
DllCall("QueryPerformanceCounter", "Int64*", CounterBefore) Sleep 1000 DllCall("QueryPerformanceCounter", "Int64*", CounterAfter) MsgBox % "Elapsed QPC time is " . CounterAfter - CounterBefore