2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef ProcStats_DEFINED
9 #define ProcStats_DEFINED
14 * ProcStats - Process Statistics Functions
20 * If implemented, returns the current resident set size in bytes.
23 int64_t getCurrResidentSetSizeBytes();
26 * If implemented, returns the maximum resident set size in MB.
29 int64_t getMaxResidentSetSizeBytes();
32 * If implemented, returns the maximum resident set size in MB.
35 int getMaxResidentSetSizeMB();
38 * If implemented, returns the current resident set size in MB.
41 int getCurrResidentSetSizeMB();
43 } // namespace sk_tools
45 #endif // ProcStats_DEFINED