Re: [hatari-devel] Re: Profiler - long history

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


Le 18/05/2015 00:45, Eero Tamminen a écrit :
Hi,

(moving discussion to hatari-devel)

On maanantai 18 toukokuu 2015, Eero Tamminen wrote:
On maanantai 18 toukokuu 2015, Konador, Cyprian wrote:
Yep, that works fine, but unfortunately there is no any info about
instruction cycles/cache miss

Cache misses are provided only by WinUAE CPU core

Only by the WinUAE CPU core in Hatari v1.8.

That's regressed in current Hatari WinUAE CPU core version.

It seems that cache miss information isn't wired in anymore,
as nothing updates this now:
----- includes/m68000.h ----
extern cpu_instruction_t CpuInstruction;
----------------------------

Nicolas?

Hi


when laurent imported the old winuae cpu core into Hatari some years ago, he added his own code to compute cycles based on whether instruction was in cache or not :

CpuInstruction.iCacheMisses++

but this is not part of recent winuae by Toni.

I could add something similar, but this would need to be improved anyway, because this code only counted instruction cache misses, but not data cache misses.

Nicolas



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