NtQueryPerformanceCounter should return a frequency of 1193182Hz and counts like in Windows. Some applications depend on that. Simplify QueryPerformanceCounter a bit.