2012/11/25 Paul Gortmaker :
>> --- a/include/linux/sched.h
>> +++ b/include/linux/sched.h
>> @@ -433,6 +433,11 @@ struct cpu_itimer {
>> u32 incr_error;
>> };
>>
>> +struct cputime {
>> + cputime_t utime;
>> + cputime_t stime;
>> +};
>> +
>
> Hi Frederic,
>
> This new struct cputime
[[PATCH 3/3] cputime: Consolidate cputime adjustment code] On 23/11/2012 (Fri
15:21) Frederic Weisbecker wrote:
> task_cputime_adjusted() and thread_group_cputime_adjusted()
> essentially share the same code. They just don't use the same
> source:
>
> * The first function u
[[PATCH 3/3] cputime: Consolidate cputime adjustment code] On 23/11/2012 (Fri
15:21) Frederic Weisbecker wrote:
task_cputime_adjusted() and thread_group_cputime_adjusted()
essentially share the same code. They just don't use the same
source:
* The first function uses the cputime
2012/11/25 Paul Gortmaker paul.gortma...@windriver.com:
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -433,6 +433,11 @@ struct cpu_itimer {
u32 incr_error;
};
+struct cputime {
+ cputime_t utime;
+ cputime_t stime;
+};
+
Hi Frederic,
This new struct
task_cputime_adjusted() and thread_group_cputime_adjusted()
essentially share the same code. They just don't use the same
source:
* The first function uses the cputime in the task struct and the
previous adjusted snapshot that ensures monotonicity.
* The second adds the cputime of all tasks in
task_cputime_adjusted() and thread_group_cputime_adjusted()
essentially share the same code. They just don't use the same
source:
* The first function uses the cputime in the task struct and the
previous adjusted snapshot that ensures monotonicity.
* The second adds the cputime of all tasks in
6 matches
Mail list logo