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

Side by Side Diff: base/process/process_metrics.h

Issue 2188043003: Linux: Increase storage size of vmstat data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 // This file contains routines for gathering resource statistics for processes 5 // This file contains routines for gathering resource statistics for processes
6 // running on the system. 6 // running on the system.
7 7
8 #ifndef BASE_PROCESS_PROCESS_METRICS_H_ 8 #ifndef BASE_PROCESS_PROCESS_METRICS_H_
9 #define BASE_PROCESS_PROCESS_METRICS_H_ 9 #define BASE_PROCESS_PROCESS_METRICS_H_
10 10
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 #if defined(OS_ANDROID) || defined(OS_LINUX) 280 #if defined(OS_ANDROID) || defined(OS_LINUX)
281 int buffers; 281 int buffers;
282 int cached; 282 int cached;
283 int active_anon; 283 int active_anon;
284 int inactive_anon; 284 int inactive_anon;
285 int active_file; 285 int active_file;
286 int inactive_file; 286 int inactive_file;
287 int dirty; 287 int dirty;
288 288
289 // vmstats data. 289 // vmstats data.
290 int pswpin; 290 unsigned long pswpin;
291 int pswpout; 291 unsigned long pswpout;
292 int pgmajfault; 292 unsigned long pgmajfault;
293 #endif // defined(OS_ANDROID) || defined(OS_LINUX) 293 #endif // defined(OS_ANDROID) || defined(OS_LINUX)
294 294
295 #if defined(OS_CHROMEOS) 295 #if defined(OS_CHROMEOS)
296 int shmem; 296 int shmem;
297 int slab; 297 int slab;
298 // Gem data will be -1 if not supported. 298 // Gem data will be -1 if not supported.
299 int gem_objects; 299 int gem_objects;
300 long long gem_size; 300 long long gem_size;
301 #endif // defined(OS_CHROMEOS) 301 #endif // defined(OS_CHROMEOS)
302 }; 302 };
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 SystemDiskInfo disk_info_; 415 SystemDiskInfo disk_info_;
416 #endif 416 #endif
417 #if defined(OS_CHROMEOS) 417 #if defined(OS_CHROMEOS)
418 SwapInfo swap_info_; 418 SwapInfo swap_info_;
419 #endif 419 #endif
420 }; 420 };
421 421
422 } // namespace base 422 } // namespace base
423 423
424 #endif // BASE_PROCESS_PROCESS_METRICS_H_ 424 #endif // BASE_PROCESS_PROCESS_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | base/process/process_metrics_linux.cc » ('j') | base/process/process_metrics_linux.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698