Cache Set

Cache Set

I'm using a E5-2690 processor, and I would like to know it there is a way to know, given an addr (from a pointer), what cache set (L1, L2 and L3) this address is mapped to. Is it just something like: addr % number_of_sets ? Does make sense do it with a pointer (virtual address)?Thanks.

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

I have the some problem!

Accedere per lasciare un commento.