This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re[2]: object code execution statistics


Hello James,

Tuesday, April 26, 2005, 6:36:56 AM, you wrote:

JEW> Sergei Tovpeko wrote:
>> Is there any util that would produce result containing the asm code
>> execution staticstics ???

JEW> I assume you want assembly instruction execution counts.  You could
JEW> produce this info from gcov with a bit of work, as gcov already gives
JEW> you execution counts for basic blocks.  You just need to disassemble the
JEW> code, apply the counts to the assembly instructions, and then print
JEW> whatever statistics you want.  Probably not easy, but feasible.

JEW> Otherwise, there is nothing in gcc that will help you here.

Does it mean that GCOV have much more data (in its binary format)
but don't treat them and out to user in human format?

-- 
Best regards,
 Sergei                            mailto:tsv@ulstu.ru


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]