Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119149
b: refs/heads/master
c: 29d7b90
h: refs/heads/master
i:
  119147: d3e6bee
v: v3
  • Loading branch information
Ingo Molnar committed Nov 16, 2008
1 parent 41868b5 commit 4a4efcd
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 2fe401e38602e853e01376cdb670b0bc4d526a6d
refs/heads/master: 29d7b90c15035741d15421b36000509212b3e135
5 changes: 3 additions & 2 deletions trunk/kernel/sched_debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,10 +423,11 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
#undef __P

{
unsigned int this_cpu = raw_smp_processor_id();
u64 t0, t1;

t0 = sched_clock();
t1 = sched_clock();
t0 = cpu_clock(this_cpu);
t1 = cpu_clock(this_cpu);
SEQ_printf(m, "%-35s:%21Ld\n",
"clock-delta", (long long)(t1-t0));
}
Expand Down

0 comments on commit 4a4efcd

Please sign in to comment.