[analyzer] Add more timers for performance profiling.
authorArtem Dergachev <artem.dergachev@gmail.com>
Tue, 25 Jun 2019 02:16:47 +0000 (02:16 +0000)
committerArtem Dergachev <artem.dergachev@gmail.com>
Tue, 25 Jun 2019 02:16:47 +0000 (02:16 +0000)
commit8a25b87f97bb9276dc06e2d01cc323af94025486
tree36571922be38d7820f8ee833748faf5ee8f6b89c
parent731e823a09b3f1f73bb104eeed47de3c8f75ec18
[analyzer] Add more timers for performance profiling.

The -analyzer-stats flag now allows you to find out how much time was spent
on AST-based analysis and on path-sensitive analysis and, separately,
on bug visitors, as they're occasionally a performance problem on their own.

The total timer wasn't useful because there's anyway a total time printed out.
Remove it.

Differential Revision: https://reviews.llvm.org/D63227

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364266 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
lib/StaticAnalyzer/Core/ExprEngine.cpp
lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp