Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 163767
b: refs/heads/master
c: 08f69e6
h: refs/heads/master
i:
  163765: 0393dd5
  163763: 4352471
  163759: 05f2e27
v: v3
  • Loading branch information
mingo authored and Ingo Molnar committed Sep 14, 2009
1 parent 46bc046 commit 1d46efc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 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: d11533893b31ab7806ff04bfa69ae646068610ce
refs/heads/master: 08f69e6c2e59b3d73343f8c9ecf758e0133dbc22
16 changes: 8 additions & 8 deletions trunk/tools/perf/builtin-sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -1144,9 +1144,9 @@ static void output_lat_thread(struct task_atoms *atom_list)
all_runtime += atom_list->total_runtime;
all_count += atom_list->nb_atoms;

ret = printf(" %s ", atom_list->thread->comm);
ret = printf(" %s-%d ", atom_list->thread->comm, atom_list->thread->pid);

for (i = 0; i < 19 - ret; i++)
for (i = 0; i < 24 - ret; i++)
printf(" ");

avg = atom_list->total_lat / atom_list->nb_atoms;
Expand Down Expand Up @@ -1296,9 +1296,9 @@ static void __cmd_lat(void)
read_events();
sort_lat();

printf("-----------------------------------------------------------------------------------\n");
printf(" Task | Runtime ms | Switches | Average delay ms | Maximum delay ms |\n");
printf("-----------------------------------------------------------------------------------\n");
printf("\n ---------------------------------------------------------------------------------------\n");
printf(" Task | Runtime ms | Switches | Average delay ms | Maximum delay ms |\n");
printf(" ---------------------------------------------------------------------------------------\n");

next = rb_first(&sorted_atom_root);

Expand All @@ -1310,8 +1310,8 @@ static void __cmd_lat(void)
next = rb_next(next);
}

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

if (unordered_timestamps && nr_timestamps) {
Expand All @@ -1321,7 +1321,7 @@ static void __cmd_lat(void)
printf("\n");
}

printf("---------------------------------------------\n");
printf(" -------------------------------------------------\n\n");
}

static struct trace_sched_handler *trace_handler;
Expand Down

0 comments on commit 1d46efc

Please sign in to comment.