Re: [dev] [OT] performance monitoring using hardware counters

From: Carlos Torres <vlaadbrain_AT_gmail.com>
Date: Fri, 31 Aug 2012 16:32:11 -0400

On Solaris there is dtrace, Linux provides something similar, but I forget
what it's called...there might be a port of dtrace for Linux.

System tap.

--Carlos
On Aug 31, 2012 3:22 PM, "Amit Uttamchandani" <
amit.uttamchandani_AT_my.csun.edu> wrote:

> 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 - 22:32:11 CEST

This archive was generated by hypermail 2.3.0 : Fri Aug 31 2012 - 22:36:09 CEST