[hatari-devel] monotonic global cycle counter

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hello Eero,

I saw in atari-forum a note about the global cycle counter :

"After Nicolas has had time to make the CPU cycle counter saner in Hatari (monotonic 64-bit one starting at boot which works similarly on all CPU core configurations), I can change several things in debugger to use that instead of VBL and instruction counts"

For me, CyclesGlobalClockCounter is already working for both old and new cpu cores. It starts at 0 when Hatari starts and then it's always increased (never reset during warm/cold reset).

So, it should be good to use as a reference in statistics ?

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/