hwms / jrfonseca

Automatically exported from code.google.com/p/jrfonseca
0 stars 0 forks source link

[Enhancement] Add VTune Amplifier XE format #81

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
[Don't know how to change the tracking type from "Defect" to "Enhancement."]

The attached patch against gprof2dot.py 1.0 rev. 2012-11-25 adds the gprof-cc 
report format produced by Intel VTune Amplifier XE 2013 as format 'axe'.  Only 
the Windows version has been tested.

The total time of functions as reported by AXE is used.  OTOH, the weighting of 
calls is faked from total time (with a warning message) since the call counts 
are not available.

This cumulative patch includes the earlier patch, "Calculate true total time 
with perf" (Issue 77).

Original issue reported on code.google.com by dfla...@nist.gov on 4 Mar 2013 at 7:28

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
1.2 DWF --> 1.2.1 DWF, added missing help text for axe format.

Original comment by dfla...@nist.gov on 4 Mar 2013 at 7:52

Attachments:

GoogleCodeExporter commented 9 years ago
Patch applied, minus the earlier patch for issue 77.

Thanks!

It would be nice to eventually refactor AXE and GProf parser so they share some 
code. But I don't think that's reason to withhold applying this patch as is any 
longer

Original comment by Jose.R.F...@gmail.com on 8 Apr 2013 at 4:55

GoogleCodeExporter commented 9 years ago
I am getting "error: unexpected end of file" using the axe format:

~/bin/gprof2dot.py  -f axe hs_prof.txt
warning: for axe format, edge weights are unreliable estimates derived from
function total times.
warning: unrecognized call graph entry (1): '------  ----------------  
-------------  -----------------  
------------------------------------------------------------------------------- 
 ------'
error: unexpected end of file

see the attached input file.

Original comment by threed...@gmail.com on 2 Jul 2013 at 11:46

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed now.

Original comment by Jose.R.F...@gmail.com on 3 Jul 2013 at 6:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 657414322137.

Original comment by Jose.R.F...@gmail.com on 3 Jul 2013 at 6:57

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 97c008248196.

Original comment by Jose.R.F...@gmail.com on 3 Jul 2013 at 7:15