blob: 14b98b7a28c2c187df1d316bf7b628e0286ebdd4 [file] [log] [blame]
halcanary0d154ee2014-08-11 11:33:51 -07001/*
2 * Copyright 2014 Google Inc.
3 *
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
6 */
7
8#ifndef ProcStats_DEFINED
9#define ProcStats_DEFINED
10
11/**
12 * ProcStats - Process Statistics Functions
13 */
14
15namespace sk_tools {
16
17/**
18 * If not implemented for this OS, returns -1. Otherwise, return
19 * the maximum resident set size, as reported by getrusage().
20 */
mtkleinafb43792014-08-19 15:55:55 -070021int getMaxResidentSetSizeMB();
halcanary0d154ee2014-08-11 11:33:51 -070022
23} // namespace sk_tools
24
25#endif // ProcStats_DEFINED