Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169522
b: refs/heads/master
c: dd86e72
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Oct 19, 2009
1 parent f1ef6dc commit f6ca7f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 56aab464ff6232bcc2f53b26576983dc83f75db7
refs/heads/master: dd86e72abdbc4b436471af5a97927c6145f5298c
6 changes: 3 additions & 3 deletions trunk/tools/perf/builtin-stat.c
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ static struct perf_event_attr default_attrs[] = {

{ .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_CPU_CYCLES },
{ .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_INSTRUCTIONS },
{ .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_CACHE_REFERENCES },
{ .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_CACHE_MISSES },
{ .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_BRANCH_INSTRUCTIONS },
{ .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_BRANCH_MISSES },
{ .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_CACHE_REFERENCES },
{ .type = PERF_TYPE_HARDWARE, .config = PERF_COUNT_HW_CACHE_MISSES },

};

Expand Down Expand Up @@ -363,7 +363,7 @@ static void abs_printout(int counter, double avg)
if (total)
ratio = avg * 100 / total;

fprintf(stderr, " # %10.3f %% ", ratio);
fprintf(stderr, " # %10.3f %% ", ratio);

} else {
total = avg_stats(&runtime_nsecs_stats);
Expand Down

0 comments on commit f6ca7f1

Please sign in to comment.