[llvm-commits] CVS: llvm/tools/llvm-prof/llvm-prof.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Oct 28 16:54:01 PST 2003
Changes in directory llvm/tools/llvm-prof:
llvm-prof.cpp updated: 1.5 -> 1.6
---
Log message:
Cleanup output a bit
---
Diffs of the changes: (+3 -1)
Index: llvm/tools/llvm-prof/llvm-prof.cpp
diff -u llvm/tools/llvm-prof/llvm-prof.cpp:1.5 llvm/tools/llvm-prof/llvm-prof.cpp:1.6
--- llvm/tools/llvm-prof/llvm-prof.cpp:1.5 Tue Oct 28 16:30:37 2003
+++ llvm/tools/llvm-prof/llvm-prof.cpp Tue Oct 28 16:53:49 2003
@@ -74,7 +74,9 @@
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 << " ";
More information about the llvm-commits
mailing list