OLD | NEW |
1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2008 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 | 5 |
6 #include "base/process_util.h" | 6 #include "base/process_util.h" |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 #include <crt_externs.h> | 9 #include <crt_externs.h> |
10 #include <spawn.h> | 10 #include <spawn.h> |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 return true; | 226 return true; |
227 return filter_->Includes(entry_.pid, entry_.ppid); | 227 return filter_->Includes(entry_.pid, entry_.ppid); |
228 } | 228 } |
229 | 229 |
230 bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) const { | 230 bool ProcessMetrics::GetIOCounters(IoCounters* io_counters) const { |
231 // TODO(pinkerton): can we implement this? On linux it relies on /proc. | 231 // TODO(pinkerton): can we implement this? On linux it relies on /proc. |
232 NOTIMPLEMENTED(); | 232 NOTIMPLEMENTED(); |
233 return false; | 233 return false; |
234 } | 234 } |
235 | 235 |
| 236 size_t ProcessMetrics::GetPagefileUsage() const { |
| 237 NOTIMPLEMENTED(); |
| 238 return 0; |
| 239 } |
| 240 |
| 241 size_t ProcessMetrics::GetPeakPagefileUsage() const { |
| 242 NOTIMPLEMENTED(); |
| 243 return 0; |
| 244 } |
| 245 |
| 246 size_t ProcessMetrics::GetWorkingSetSize() const { |
| 247 NOTIMPLEMENTED(); |
| 248 return 0; |
| 249 } |
| 250 |
| 251 size_t ProcessMetrics::GetPeakWorkingSetSize() const { |
| 252 NOTIMPLEMENTED(); |
| 253 return 0; |
| 254 } |
| 255 |
236 } // namespace base | 256 } // namespace base |
OLD | NEW |