Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288742
b: refs/heads/master
c: 30fd049
h: refs/heads/master
v: v3
  • Loading branch information
Rakib Mullick authored and Ingo Molnar committed Jan 27, 2012
1 parent 61cc70b commit 460879f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 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: 4ec4412e1e91f44a3dcb97b6c9172a13fc78bac9
refs/heads/master: 30fd049afcfed50e022704036e8629d6bdfe84e6
3 changes: 2 additions & 1 deletion trunk/Documentation/scheduler/sched-stats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ First field is a sched_yield() statistic:
1) # of times sched_yield() was called

Next three are schedule() statistics:
2) # of times we switched to the expired queue and reused it
2) This field is a legacy array expiration count field used in the O(1)
scheduler. We kept it for ABI compatibility, but it is always set to zero.
3) # of times schedule() was called
4) # of times schedule() left the processor idle

Expand Down
1 change: 0 additions & 1 deletion trunk/kernel/sched/debug.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,6 @@ static void print_cpu(struct seq_file *m, int cpu)

P(yld_count);

P(sched_switch);
P(sched_count);
P(sched_goidle);
#ifdef CONFIG_SMP
Expand Down
1 change: 0 additions & 1 deletion trunk/kernel/sched/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,6 @@ struct rq {
unsigned int yld_count;

/* schedule() stats */
unsigned int sched_switch;
unsigned int sched_count;
unsigned int sched_goidle;

Expand Down
4 changes: 2 additions & 2 deletions trunk/kernel/sched/stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ static int show_schedstat(struct seq_file *seq, void *v)

/* runqueue-specific stats */
seq_printf(seq,
"cpu%d %u %u %u %u %u %u %llu %llu %lu",
"cpu%d %u 0 %u %u %u %u %llu %llu %lu",
cpu, rq->yld_count,
rq->sched_switch, rq->sched_count, rq->sched_goidle,
rq->sched_count, rq->sched_goidle,
rq->ttwu_count, rq->ttwu_local,
rq->rq_cpu_time,
rq->rq_sched_info.run_delay, rq->rq_sched_info.pcount);
Expand Down

0 comments on commit 460879f

Please sign in to comment.