[all-commits] [llvm/llvm-project] cad9b7: [analyzer] Print time taken to analyze each function
rithik sharma via All-commits
all-commits at lists.llvm.org
Mon Jul 12 21:55:46 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: cad9b7f708e2b2d19d7890494980c5e427d6d4ea
https://github.com/llvm/llvm-project/commit/cad9b7f708e2b2d19d7890494980c5e427d6d4ea
Author: SharmaRithik <rithiksh02 at gmail.com>
Date: 2021-07-13 (Tue, 13 Jul 2021)
Changed paths:
M clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
M clang/test/Analysis/analyzer-display-progress.cpp
Log Message:
-----------
[analyzer] Print time taken to analyze each function
Summary: This patch is a part of an attempt to obtain more
timer data from the analyzer. In this patch, we try to use
LLVM::TimeRecord to save time before starting the analysis
and to print the time that a specific function takes while
getting analyzed.
The timer data is printed along with the
-analyzer-display-progress outputs.
ANALYZE (Syntax): test.c functionName : 0.4 ms
ANALYZE (Path, Inline_Regular): test.c functionName : 2.6 ms
Authored By: RithikSharma
Reviewer: NoQ, xazax.hun, teemperor, vsavchenko
Reviewed By: NoQ
Differential Revision: https://reviews.llvm.org/D105565
More information about the All-commits
mailing list