This is an archive of the discontinued LLVM Phabricator instance.

Add summarizeStats.py to tools directory
ClosedPublic

Authored by jlpeyton on Jan 8 2018, 2:16 PM.

Details

Summary

The summarizeStats.py script processes raw data provided by the
instrumented (stats-gathering) OpenMP* runtime library. It provides:

  1. A radar chart which plots counters as frequency (per GigaTick) of use within the program. The frequencies are plotted as log10, however values less than 1 are kept as it is and represented in red color. This was done to help visualize the differences better.
  2. Pie charts separating total time as compute and non-compute. The compute and non-compute times have their own pie charts showing the constructs that contributed to them. The percentages listed are with respect to the total time.
  3. '.csv' file with percentage of time spent within the different constructs.

The script can be used as:
$ python $PATH_TO_SCRIPT/summarizeStats.py instrumented1.csv instrumented2.csv

Patch by Taru Doodi

Diff Detail

Repository
rL LLVM

Event Timeline

jlpeyton created this revision.Jan 8 2018, 2:16 PM
This revision is now accepted and ready to land.Mar 26 2018, 11:41 AM
This revision was automatically updated to reflect the committed changes.