| Index: chrome/browser/task_manager/task_manager_interface.h
|
| diff --git a/chrome/browser/task_manager/task_manager_interface.h b/chrome/browser/task_manager/task_manager_interface.h
|
| index 564522942cbbd923b745f1c237891d5370b524d5..24599030b7cf7c74df49ebc08fc4039772cd8bdb 100644
|
| --- a/chrome/browser/task_manager/task_manager_interface.h
|
| +++ b/chrome/browser/task_manager/task_manager_interface.h
|
| @@ -68,10 +68,19 @@ class TaskManagerInterface {
|
| // Kills the task with |task_id|.
|
| virtual void KillTask(TaskId task_id) = 0;
|
|
|
| - // returns the CPU usage in percent for the process on which the task with
|
| + // Returns the CPU usage in percent for the process on which the task with
|
| // |task_id| is running during the current refresh cycle.
|
| virtual double GetCpuUsage(TaskId task_id) const = 0;
|
|
|
| + // Returns the start time for the process on which the task
|
| + // with |task_id| is running. Only implemented in Windows now.
|
| + virtual base::Time GetStartTime(TaskId task_id) const = 0;
|
| +
|
| + // Returns the CPU time for the process on which the task
|
| + // with |task_id| is running during the current refresh cycle.
|
| + // Only implemented in Windows now.
|
| + virtual base::TimeDelta GetCpuTime(TaskId task_id) const = 0;
|
| +
|
| // Returns the current physical/private/shared memory usage of the task with
|
| // |task_id| in bytes. A value of -1 means no valid value is currently
|
| // available.
|
|
|