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

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: Swap EXPECT order 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
« no previous file with comments | « no previous file | base/process/process_metrics_linux.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) 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 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
289 #if defined(OS_ANDROID) || defined(OS_LINUX) 289 #if defined(OS_ANDROID) || defined(OS_LINUX)
290 int buffers; 290 int buffers;
291 int cached; 291 int cached;
292 int active_anon; 292 int active_anon;
293 int inactive_anon; 293 int inactive_anon;
294 int active_file; 294 int active_file;
295 int inactive_file; 295 int inactive_file;
296 int dirty; 296 int dirty;
297 297
298 // vmstats data. 298 // vmstats data.
299 int pswpin; 299 unsigned long pswpin;
300 int pswpout; 300 unsigned long pswpout;
301 int pgmajfault; 301 unsigned long pgmajfault;
302 #endif // defined(OS_ANDROID) || defined(OS_LINUX) 302 #endif // defined(OS_ANDROID) || defined(OS_LINUX)
303 303
304 #if defined(OS_CHROMEOS) 304 #if defined(OS_CHROMEOS)
305 int shmem; 305 int shmem;
306 int slab; 306 int slab;
307 // Gem data will be -1 if not supported. 307 // Gem data will be -1 if not supported.
308 int gem_objects; 308 int gem_objects;
309 long long gem_size; 309 long long gem_size;
310 #endif // defined(OS_CHROMEOS) 310 #endif // defined(OS_CHROMEOS)
311 }; 311 };
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 SystemDiskInfo disk_info_; 424 SystemDiskInfo disk_info_;
425 #endif 425 #endif
426 #if defined(OS_CHROMEOS) 426 #if defined(OS_CHROMEOS)
427 SwapInfo swap_info_; 427 SwapInfo swap_info_;
428 #endif 428 #endif
429 }; 429 };
430 430
431 } // namespace base 431 } // namespace base
432 432
433 #endif // BASE_PROCESS_PROCESS_METRICS_H_ 433 #endif // BASE_PROCESS_PROCESS_METRICS_H_
OLDNEW
« no previous file with comments | « no previous file | base/process/process_metrics_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698