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

Side by Side Diff: tools/ProcStats.h

Issue 483323002: Print max RSS in GM and nanobench too. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 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 /* 1 /*
2 * Copyright 2014 Google Inc. 2 * Copyright 2014 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef ProcStats_DEFINED 8 #ifndef ProcStats_DEFINED
9 #define ProcStats_DEFINED 9 #define ProcStats_DEFINED
10 10
11 /** 11 /**
12 * ProcStats - Process Statistics Functions 12 * ProcStats - Process Statistics Functions
13 */ 13 */
14 14
15 namespace sk_tools { 15 namespace sk_tools {
16 16
17 /** 17 /**
18 * If not implemented for this OS, returns -1. Otherwise, return 18 * If not implemented for this OS, returns -1. Otherwise, return
19 * the maximum resident set size, as reported by getrusage(). 19 * the maximum resident set size, as reported by getrusage().
20 */ 20 */
21 int getMaxResidentSetSizeKB(); 21 int getMaxResidentSetSizeMB();
22 22
23 } // namespace sk_tools 23 } // namespace sk_tools
24 24
25 #endif // ProcStats_DEFINED 25 #endif // ProcStats_DEFINED
OLDNEW
« bench/nanobench.cpp ('K') | « gyp/tools.gyp ('k') | tools/ProcStats.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698