Messages in this thread | | | Subject | Re: [RFC][PATCH 12/22] sched: add runtime reporting for -deadline tasks | From | Peter Zijlstra <> | Date | Fri, 12 Nov 2010 17:27:31 +0100 |
| |
On Fri, 2010-11-12 at 17:15 +0100, Raistlin wrote: > > but reading this patch makes me > > wonder why tsk->se.sum_exec_runtime isn't good enough? > > > Might be, but what you usually want is something reporting you total > runtime from when you became a -deadline task, which may not be the case > of sum_exec_runtime, is it?
Correct, it wouldn't be. However since I expect a user to be mostly interested in deltas between two readings, in which case it really doesn't matter, does it?
| |