Volker Poplawski wrote:
On 03/20/2011 05:47 PM, Marcus Meissner wrote:
On Sun, Mar 20, 2011 at 09:34:24AM -0400, Jerry Feldman wrote:
On 03/19/2011 02:21 PM, Per Jessen wrote:
I'm trying to optimize some assembler code for which I'm measuring runtime over a<slice of data>. Is there any easy (in C or assembler ) access to counters for pipeline stalls and cache misses available? At some point I'd also like to look at context switches, although I'm not sure how I might affect those.
Valgrind can give you some of what you want. I've also used Intel's Vtune. The Linux Trace Toolkit may also be useful. But, I think for things like pipeline stalls you would need one of the profiling tools.
oprofile is also at this kind of lowlevel.
Thanks for the hint to oprofile. Looks interessting.
oprofile requires the uncompressed image of the running kernel to work: vmlinux
Does anybody know how to get a such an image on opensuse?
I think you'll get by building the kernel with "make bzImage". I haven't tried it though. /Per Jessen, Zürich -- To unsubscribe, e-mail: opensuse-programming+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-programming+help@opensuse.org