diff --git a/src/bin/debug/profile/CallgrindThreadProfileResult.cpp b/src/bin/debug/profile/CallgrindThreadProfileResult.cpp index 0b4e72feec..818356e609 100644 --- a/src/bin/debug/profile/CallgrindThreadProfileResult.cpp +++ b/src/bin/debug/profile/CallgrindThreadProfileResult.cpp @@ -189,7 +189,7 @@ CallgrindThreadProfileResult::PrintResults() fprintf(out, "positions: line\n"); fprintf(out, "events: Ticks Time\n"); - fprintf(out, "summary: %lld\n", fTotalTicks); + fprintf(out, "summary: %lld %lld\n", fTotalTicks, fTotalTicks * fInterval); // get hit images CallgrindThreadImage* images[fOldImages.Size() + fImages.Size()]; @@ -237,6 +237,8 @@ CallgrindThreadProfileResult::PrintResults() } } + fprintf(out, "\ntotals: %lld %lld\n", fTotalTicks, fTotalTicks * fInterval); + fclose(out); }