diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2014-07-16 17:04:34 -0400 |
---|---|---|
committer | John Stultz <john.stultz@linaro.org> | 2014-07-23 13:18:05 -0400 |
commit | ccbf62d8a284cf181ac28c8e8407dd077d90dd4b (patch) | |
tree | 7e1a4fffdc9a8f46e4bd22ad6070ad4fa768f1ed /include/linux/sched.h | |
parent | 57e0be041d9e21a7397eed3b67a7936ac4ac83c0 (diff) |
sched: Make task->start_time nanoseconds based
Simplify the timespec to nsec/usec conversions.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 67678fa76f99..10c6e829927f 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -1367,7 +1367,7 @@ struct task_struct { | |||
1367 | } vtime_snap_whence; | 1367 | } vtime_snap_whence; |
1368 | #endif | 1368 | #endif |
1369 | unsigned long nvcsw, nivcsw; /* context switch counts */ | 1369 | unsigned long nvcsw, nivcsw; /* context switch counts */ |
1370 | struct timespec start_time; /* monotonic time */ | 1370 | u64 start_time; /* monotonic time in nsec */ |
1371 | u64 real_start_time; /* boot based time in nsec */ | 1371 | u64 real_start_time; /* boot based time in nsec */ |
1372 | /* mm fault and swap info: this can arguably be seen as either mm-specific or thread-specific */ | 1372 | /* mm fault and swap info: this can arguably be seen as either mm-specific or thread-specific */ |
1373 | unsigned long min_flt, maj_flt; | 1373 | unsigned long min_flt, maj_flt; |