diff options
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h index 0f5a4005048f..7f5d353d78ac 100644 --- a/include/linux/perf_counter.h +++ b/include/linux/perf_counter.h | |||
@@ -477,14 +477,10 @@ struct perf_counter_context { | |||
477 | struct task_struct *task; | 477 | struct task_struct *task; |
478 | 478 | ||
479 | /* | 479 | /* |
480 | * time_now is the current time in nanoseconds since an arbitrary | 480 | * Context clock, runs when context enabled. |
481 | * point in the past. For per-task counters, this is based on the | ||
482 | * task clock, and for per-cpu counters it is based on the cpu clock. | ||
483 | * time_lost is an offset from the task/cpu clock, used to make it | ||
484 | * appear that time only passes while the context is scheduled in. | ||
485 | */ | 481 | */ |
486 | u64 time_now; | 482 | u64 time; |
487 | u64 time_lost; | 483 | u64 timestamp; |
488 | #endif | 484 | #endif |
489 | }; | 485 | }; |
490 | 486 | ||