projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a209dd
)
Cleanup output a bit
author
Chris Lattner
<sabre@nondot.org>
Tue, 28 Oct 2003 22:53:49 +0000
(22:53 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Tue, 28 Oct 2003 22:53:49 +0000
(22:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9567
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/llvm-prof/llvm-prof.cpp
patch
|
blob
|
history
diff --git
a/tools/llvm-prof/llvm-prof.cpp
b/tools/llvm-prof/llvm-prof.cpp
index c487da959ff416b1c6a0b4a8d6e48ce45288a8ce..ba09c898a4e637dc7803992433afbeded4869301 100644
(file)
--- a/
tools/llvm-prof/llvm-prof.cpp
+++ b/
tools/llvm-prof/llvm-prof.cpp
@@
-74,7
+74,9
@@
int main(int argc, char **argv) {
TotalExecutions += FunctionCounts[i].second;
std::cout << "===" << std::string(73, '-') << "===\n"
- << "LLVM profiling output for:\n";
+ << "LLVM profiling output for execution";
+ if (PI.getNumExecutions() != 1) std::cout << "s";
+ std::cout << ":\n";
for (unsigned i = 0, e = PI.getNumExecutions(); i != e; ++i) {
std::cout << " ";