Cache Misses

Cache Misses

Is there any way to get the number of cache misses in my program without using vtune?

Maybe a compiler option like -profile-something .. ?

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Well, if you can find something to program the PMU counters (I don't have one - used SEP while it was being distributed), then the  _rdpmc intrinsic will let you programmatically query them (recall that only two counters can be active at once in KNC).  Note that while we can get decent L1 hit data for KNC, there is no reliable way to get L2 hit data.  See for more information.



Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi