On Fri, 2001-12-28 at 22:01, David Boyes wrote: > > Are there any performance counters such as other processors > > have (cache > > hit/miss, tlb hit/miss, branch predict misses, insns retired etc.) > > available from Linux? > > Hmm. If gcc generates the code to collect them (or gprof), then they should > be available in the same ways as on the other platforms. gprof support > isn't all that mature for the 390, so it may not work correctly yet. I > haven't tried this in a while, so don't have a good answer for you now, but > there's the weekend...8-)
gprof support not mature? Soo, how immature is it? Also, I think there is a misunderstanding about the performance counters: they (the ones I ment) are CPU architecture specific and neither gcc nor gprof knows about them. They are implemented as "extra" registers (they are not useable for anything but collecting performance metrics) which the CPU updates automatically for whatever events you selected to monitor, and you typically dump them from the CPU after your program exits. Erik
