[dev] [OT] performance monitoring using hardware counters

From: Amit Uttamchandani <amit.uttamchandani_AT_my.csun.edu>
Date: Fri, 31 Aug 2012 12:21:22 -0700

Hello,

Would you be able to share your thoughts/experiences on performance
monitoring using hardware counters in Linux?

I am currently using *perf* tools that come built in with the kernel to
measure the number of cycles a specific program takes.

Now, I can't seem to figure out how to measure the number of cycles per
function call. For example, I would like to measure the number of cycles
it takes for SHA1_Update() from libcrypto when using the sha1 ASM
instructions compared to not using the sha1 ASM.

Thanks,
Amit
Received on Fri Aug 31 2012 - 21:21:22 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 31 2012 - 21:24:04 CEST