This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re[2]: object code execution statistics
- From: Sergei Tovpeko <tsv at ulstu dot ru>
- To: James E Wilson <wilson at specifixinc dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 26 Apr 2005 12:57:54 +0400
- Subject: Re[2]: object code execution statistics
- Organization: UlSTU
- References: <376379373.20050425101220@ulstu.ru><426DA948.9090706@specifixinc.com>
- Reply-to: Sergei Tovpeko <tsv at ulstu dot ru>
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