| Index: base/process/process_metrics.h
|
| diff --git a/base/process/process_metrics.h b/base/process/process_metrics.h
|
| index 32843e8df77f31ba5891d6129a1d5e1ec46bded8..3eb3604b7a381a5514045d17fd882cf339e69303 100644
|
| --- a/base/process/process_metrics.h
|
| +++ b/base/process/process_metrics.h
|
| @@ -193,6 +193,10 @@ class BASE_EXPORT ProcessMetrics {
|
| bool GetWorkingSetKBytesTotmaps(WorkingSetKBytes *ws_usage) const;
|
| #endif
|
|
|
| +#if defined(OS_MACOSX) || defined(OS_LINUX)
|
| + int CalculateIdleWakeupsPerSecond(uint64 absolute_idle_wakeups);
|
| +#endif
|
| +
|
| ProcessHandle process_;
|
|
|
| int processor_count_;
|
| @@ -202,7 +206,7 @@ class BASE_EXPORT ProcessMetrics {
|
| TimeTicks last_cpu_time_;
|
| int64 last_system_time_;
|
|
|
| -#if defined(OS_MACOSX)
|
| +#if defined(OS_MACOSX) || defined(OS_LINUX)
|
| // Same thing for idle wakeups.
|
| TimeTicks last_idle_wakeups_time_;
|
| uint64 last_absolute_idle_wakeups_;
|
|
|