aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJonathan Peyton <jonathan.l.peyton@intel.com>2018-03-26 18:44:48 +0000
committerJonathan Peyton <jonathan.l.peyton@intel.com>2018-03-26 18:44:48 +0000
commitb6b79ac95bc5e163348cdde7304c446eded5b8fb (patch)
treed6c43319bc5f3602c57c1772a54062c1bdfdac80 /clang/lib/Frontend/CompilerInvocation.cpp
parent24bd88c0b06595a9e60d8a4f710bf17f0baac356 (diff)
downloadllvm-b6b79ac95bc5e163348cdde7304c446eded5b8fb.zip
llvm-b6b79ac95bc5e163348cdde7304c446eded5b8fb.tar.gz
llvm-b6b79ac95bc5e163348cdde7304c446eded5b8fb.tar.bz2
Add summarizeStats.py to tools directory
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 one 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 Differential Revision: https://reviews.llvm.org/D41838 llvm-svn: 328568
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions