object code execution statistics
James E Wilson
wilson@specifixinc.com
Tue Apr 26 03:46:00 GMT 2005
Sergei Tovpeko wrote:
> Is there any util that would produce result containing the asm code
> execution staticstics ???
I assume you want assembly instruction execution counts. You could
produce this info from gcov with a bit of work, as gcov already gives
you execution counts for basic blocks. You just need to disassemble the
code, apply the counts to the assembly instructions, and then print
whatever statistics you want. Probably not easy, but feasible.
Otherwise, there is nothing in gcc that will help you here.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com
More information about the Gcc
mailing list