mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 16:43:05 -05:00
sceKernelGetProcessTimeCounter counted nanoseconds and sceKernelGetProcessTimeCounterFrequency returned 1 GHz, while sceKernelGetTscFrequency reports the host TSC rate. On the console the process time counter runs at the TSC frequency, so a title may scale the counter by sceKernelGetTscFrequency. PPSA34501 does, and its clock ran 3.4 times slow on a 3.4 GHz host: it paced its 60 Hz frames to 17.6 fps and its game time and audio drifted apart. The counter now ticks at sceKernelGetTscFrequency, over the same monotonic clock and APS5_TIME_SCALE, and its frequency is that rate.