Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(536)

Side by Side Diff: base/process_util_mac.mm

Issue 113217: Add memory stats for linux page cycler. On linux, we collect (Closed)
Patch Set: close process Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/process_util_linux.cc ('k') | base/process_util_win.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « base/process_util_linux.cc ('k') | base/process_util_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698