Mercurial > repos > rhope
diff cbackend.rhope @ 107:e5627038b7e7
Broken attempt at perf opt
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Fri, 03 Sep 2010 08:11:51 -0400 |
parents | 43cc42df26cc |
children |
line wrap: on
line diff
--- a/cbackend.rhope Tue Aug 24 23:22:45 2010 -0400 +++ b/cbackend.rhope Fri Sep 03 08:11:51 2010 -0400 @@ -1613,7 +1613,7 @@ for (idx = 0; idx < END; ++idx) { if(profile_counts[idx]) - printf(\"Func: %d\tCount: %llu\tTime: %llu\tAvg: %f\tSelf: %llu\tAvg: %f\n\", idx, profile_counts[idx], profile_totals[idx], ((double)profile_totals[idx])/((double)profile_counts[idx]), profile_selftotals[idx], ((double)profile_selftotals[idx])/((double)profile_counts[idx])); + printf(\"Func: %d\\tCount: %llu\\tTime: %llu\\tAvg: %f\\tSelf: %llu\\tAvg: %f\\n\", idx, profile_counts[idx], profile_totals[idx], ((double)profile_totals[idx])/((double)profile_counts[idx]), profile_selftotals[idx], ((double)profile_selftotals[idx])/((double)profile_counts[idx])); } #endif if (!numret)