Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163754
b: refs/heads/master
c: 7362262
h: refs/heads/master
v: v3
  • Loading branch information
Frederic Weisbecker authored and Ingo Molnar committed Sep 13, 2009
1 parent 4d022db commit e5b580a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 66685678a03d0d8e8ba015472f280fb4f12f84c1
refs/heads/master: 7362262687b21b0d04927a7615c162a3d064849e
8 changes: 4 additions & 4 deletions trunk/tools/perf/builtin-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1129,9 +1129,9 @@ static void output_lat_thread(struct task_atoms *atom_list)
avg = atom_list->total_lat / atom_list->nb_atoms;

printf("|%9.3f ms |%9llu | avg:%9.3f ms | max:%9.3f ms |\n",
(double)atom_list->total_runtime / 1e9,
atom_list->nb_atoms, (double)avg / 1e9,
(double)atom_list->max_lat / 1e9);
(double)atom_list->total_runtime / 1e6,
atom_list->nb_atoms, (double)avg / 1e6,
(double)atom_list->max_lat / 1e6);
}

static void __cmd_lat(void)
Expand All @@ -1157,7 +1157,7 @@ static void __cmd_lat(void)

printf("-----------------------------------------------------------------------------------\n");
printf(" TOTAL: |%9.3f ms |%9Ld |\n",
(double)all_runtime/1e9, all_count);
(double)all_runtime/1e6, all_count);
printf("---------------------------------------------\n");
}

Expand Down

0 comments on commit e5b580a

Please sign in to comment.