diff options
Diffstat (limited to 'include/linux/taskstats.h')
-rw-r--r-- | include/linux/taskstats.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/linux/taskstats.h b/include/linux/taskstats.h index dce1ed204972..5d69c0744fff 100644 --- a/include/linux/taskstats.h +++ b/include/linux/taskstats.h | |||
@@ -31,7 +31,7 @@ | |||
31 | */ | 31 | */ |
32 | 32 | ||
33 | 33 | ||
34 | #define TASKSTATS_VERSION 5 | 34 | #define TASKSTATS_VERSION 6 |
35 | #define TS_COMM_LEN 32 /* should be >= TASK_COMM_LEN | 35 | #define TS_COMM_LEN 32 /* should be >= TASK_COMM_LEN |
36 | * in linux/sched.h */ | 36 | * in linux/sched.h */ |
37 | 37 | ||
@@ -152,6 +152,11 @@ struct taskstats { | |||
152 | 152 | ||
153 | __u64 nvcsw; /* voluntary_ctxt_switches */ | 153 | __u64 nvcsw; /* voluntary_ctxt_switches */ |
154 | __u64 nivcsw; /* nonvoluntary_ctxt_switches */ | 154 | __u64 nivcsw; /* nonvoluntary_ctxt_switches */ |
155 | |||
156 | /* time accounting for SMT machines */ | ||
157 | __u64 ac_utimescaled; /* utime scaled on frequency etc */ | ||
158 | __u64 ac_stimescaled; /* stime scaled on frequency etc */ | ||
159 | __u64 cpu_scaled_run_real_total; /* scaled cpu_run_real_total */ | ||
155 | }; | 160 | }; |
156 | 161 | ||
157 | 162 | ||