Add the ability to synthesize function counts from block count information

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9595 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-10-29 21:47:44 +00:00
parent 18884a86ae
commit 750ba3d6eb
2 changed files with 10 additions and 3 deletions

View File

@ -123,7 +123,7 @@ int main(int argc, char **argv) {
unsigned BlocksToPrint = Counts.size();
if (BlocksToPrint > 20) BlocksToPrint = 20;
for (unsigned i = 0; i != BlocksToPrint; ++i)
printf("%3d. %5d/%d %s - %s\n", i+1, Counts[i].second, TotalExecutions,
printf("%3d. %5d/%d %s() - %s\n", i+1, Counts[i].second, TotalExecutions,
Counts[i].first->getParent()->getName().c_str(),
Counts[i].first->getName().c_str());