Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191322
b: refs/heads/master
c: 5efe08c
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker committed May 9, 2010
1 parent 03a7e68 commit 9bde214
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 84c7a21791eb2e962a27e19bab5b77d5d9e13a34
refs/heads/master: 5efe08cf685f33f562566dc68b6077b6f6a4f706
4 changes: 2 additions & 2 deletions trunk/tools/perf/builtin-lock.c
Original file line number Diff line number Diff line change
Expand Up @@ -733,8 +733,8 @@ static void print_bad_events(int bad, int total)
{ "acquire", "acquired", "contended", "release" };

pr_info("\n=== output for debug===\n\n");
pr_info("bad:%d, total:%d\n", bad, total);
pr_info("bad rate:%f\n", (double)(bad / total));
pr_info("bad: %d, total: %d\n", bad, total);
pr_info("bad rate: %f %%\n", (double)bad / (double)total * 100);
pr_info("histogram of events caused bad sequence\n");
for (i = 0; i < BROKEN_MAX; i++)
pr_info(" %10s: %d\n", name[i], bad_hist[i]);
Expand Down

0 comments on commit 9bde214

Please sign in to comment.