diff options
| author | Siddharth Bhat <siddu.druid@gmail.com> | 2017-06-02 09:20:02 +0000 |
|---|---|---|
| committer | Siddharth Bhat <siddu.druid@gmail.com> | 2017-06-02 09:20:02 +0000 |
| commit | a4dea6bb0570fc5a3cd9d553a380e012ce210e60 (patch) | |
| tree | cfe2f4998b5653a7856113019c089b37559aedef /llvm/tools/llvm-diff/llvm-diff.cpp | |
| parent | 437f7060fe6335b488c3b326930606681c8531fe (diff) | |
| download | bcm5719-llvm-a4dea6bb0570fc5a3cd9d553a380e012ce210e60.tar.gz bcm5719-llvm-a4dea6bb0570fc5a3cd9d553a380e012ce210e60.zip | |
[CodeGen] Print performance counter information in CSV.
This ensures that tools can parse performance information which Polly
generates easily.
- Sample output:
```name=out.csv
scop function, entry block name, exit block name, total time
warmup, %entry.split, %polly.merge_new_and_old, 1960
f, %entry.split, %polly.merge_new_and_old, 1238
g, %entry.split, %polly.merge_new_and_old, 1218
```
- Example code to parse output:
```lang=python, name=example-parse.py
import asciitable
import sys
table = asciitable.read('out.csv', delimiter=',')
asciitable.write(table, sys.stdout, delimiter=',')
```
llvm-svn: 304533
Diffstat (limited to 'llvm/tools/llvm-diff/llvm-diff.cpp')
0 files changed, 0 insertions, 0 deletions

