|
From: Andy F. <afl...@gm...> - 2009-02-11 00:24:43
|
On Wed, Feb 4, 2009 at 12:29 AM, Vishwa <vi...@ne...> wrote: > Hi, > > I am using Freescale MPC8572DS board. I need to calculate L2 cache hit rate > for few of my applications by making use of oprofile. Which events of > oprofile for e500 should I use to get L2 cache hit rate? I'm afraid the L2 is not part of the e500 core (the core for 8572), so L2 cache events are not counted by the core counters. There are system counters which count L2 events, but they are not used by oprofile, as they are asynchronous with the core. There is not, currently (to my knowledge), a pre-packaged way to configure the system counters. However, they are in memory-mapped registers, so it should not be too difficult to program them manually. Andy |