Tracing\profiling instructions

Posted by LeChuck2k on Stack Overflow See other posts from Stack Overflow or by LeChuck2k
Published on 2010-06-04T06:22:26Z Indexed on 2010/06/04 6:39 UTC
Read the original article Hit count: 221

Filed under:
|
|
|

Hi Y'all.

I'd like to statistically profile my C code at the instruction level. I need to know how many additions, multiplications, devides, etc,... I'm performing.

This is not your usual run of the mill code profiling requirement. I'm an algorithm developer and I want to estimate the cost of converting my code to hardware implementations. For this, I'm being asked the instruction call breakdown during run-time (parsing the compiled assembly isn't sufficient as it doesn't consider loops in the code).

After looking around, It seems VMWare may offer a possible solution, but I still couldn't find the specific feature that will allow me to trace the instruction call stream of my process.

Are you aware of any profiling tools which enable this?

© Stack Overflow or respective owner

Related posts about c

    Related posts about assembly