[Openmp-commits] [PATCH] D41838: Add summarizeStats.py to tools directory

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Jan 8 14:16:05 PST 2018


jlpeyton created this revision.
jlpeyton added reviewers: jcownie, tlwilmar.
jlpeyton added a project: OpenMP.

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


Repository:
  rOMP OpenMP

https://reviews.llvm.org/D41838

Files:
  runtime/tools/summarizeStats.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41838.128983.patch
Type: text/x-patch
Size: 12792 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180108/8485ab87/attachment-0001.bin>


More information about the Openmp-commits mailing list