summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/help/TestHelp.py
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2018-03-08 02:36:25 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2018-03-08 02:36:25 +0000
commit1087a542554ac0ab23bbca07d026b2fb49862809 (patch)
treee930be6193658e4dfbcfb9d91aabaa66799d1fbb /lldb/packages/Python/lldbsuite/test/help/TestHelp.py
parente4f47b4c63dd99508410087f5b6643f3e668ed23 (diff)
downloadbcm5719-llvm-1087a542554ac0ab23bbca07d026b2fb49862809.tar.gz
bcm5719-llvm-1087a542554ac0ab23bbca07d026b2fb49862809.zip
Support resetting STATISTIC() values using llvm::ResetStatistics()
Summary: Most of the time, compiler statistics can be obtained using a process that performs a single compilation and terminates such as llc. However, this isn't always the case. JITs for example, perform multiple compilations over their lifetime and STATISTIC() will record cumulative values across all of them. Provide tools like this with the facilities needed to measure individual compilations by allowing them to reset the STATISTIC() values back to zero using llvm::ResetStatistics(). It's still the tools responsibility to ensure that they perform compilations in such a way that the results are meaningful to their intended use. Reviewers: qcolombet, rtereshin, bogner, aditya_nandakumar Reviewed By: bogner Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D44181 llvm-svn: 326981
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/help/TestHelp.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud