Obtaining l2 misses and cpu utilization in a module
Nikola Knežević
laladelausanne at gmail.com
Wed Feb 18 11:18:25 PST 2009
Hi,
I would like to obtain fore mentioned data from within my module. I
need these performance metrics to see how certain code executes, and
make decisions during the runtime. pmc(3) seems complete, but it also
seems to be intended for use in the userland.
How to use pmc from modules? Is there any other way? Also, module is
amd64 only, so I don't care about portability.
Cheers,
Nikola
More information about the freebsd-hackers
mailing list