|
From: Manoj P. <mp...@nv...> - 2006-02-16 07:35:11
|
Hi, How do I setup Cachegrind for use on a power PC with I-cache 32K, D-cache 32K, both 64way with 32byte line size (No L2 cache).=20 I tried changing the cg-ppc32.c file and set the parameters accordingly. But it needs parameters for an L2 cache also. Is there any way to disable this (i.e simulate only I and D caches. No L2 cache) -Manoj |
|
From: Ivan S. <isj...@i1...> - 2006-02-16 17:03:12
|
On Thursday 16 February 2006 08:35, Manoj Palki wrote: > How do I setup Cachegrind for use on a power PC with I-cache 32K, > D-cache 32K, both 64way with 32byte line size (No L2 cache). > I tried changing the cg-ppc32.c file and set the parameters accordingly. > But it needs parameters for an L2 cache also. Is there any way to > disable this (i.e simulate only I and D caches. No L2 cache) You can specify the cache sizes on the command-line, eg.: valgrind --tool=cachegrind --I1=32768,64,32 --D1=32768,64,32 ls and then just ignore the reports on L2 cache hits/miss. |