[PATCH] D36492: [time-report] Add preprocessor timer
Brian Gesiak via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 16 11:57:05 PDT 2017
modocache added a comment.
Friendly ping! I think this is ready to be reviewed. It adds an additional row, `Preprocessing`, to the `Miscellaneous Ungrouped Timers` section of the `clang -ftime-report` output:
===-------------------------------------------------------------------------===
Miscellaneous Ungrouped Timers
===-------------------------------------------------------------------------===
---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name ---
0.0360 ( 17.8%) 0.0060 ( 35.3%) 0.0420 ( 19.2%) 0.3440 ( 50.6%) Code Generation Time
0.0390 ( 19.3%) 0.0050 ( 29.4%) 0.0440 ( 20.1%) 0.1734 ( 25.5%) LLVM IR Generation Time
0.1270 ( 62.9%) 0.0060 ( 35.3%) 0.1330 ( 60.7%) 0.1622 ( 23.9%) Preprocessing
0.2020 (100.0%) 0.0170 (100.0%) 0.2190 (100.0%) 0.6796 (100.0%) Total
Grouping these timers is something I'd like to explore in future commits.
https://reviews.llvm.org/D36492
More information about the cfe-commits
mailing list