Flutter Engine
The Flutter Engine
third_party
skia
tools
ProcStats.h
Go to the documentation of this file.
1
/*
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
#include <cstdint>
12
13
/**
14
* ProcStats - Process Statistics Functions
15
*/
16
17
namespace
sk_tools
{
18
19
/**
20
* If implemented, returns the current resident set size in bytes.
21
* If not, returns -1.
22
*/
23
int64_t
getCurrResidentSetSizeBytes
();
24
25
/**
26
* If implemented, returns the maximum resident set size in MB.
27
* If not, returns -1.
28
*/
29
int64_t
getMaxResidentSetSizeBytes
();
30
31
/**
32
* If implemented, returns the maximum resident set size in MB.
33
* If not, returns -1.
34
*/
35
int
getMaxResidentSetSizeMB
();
36
37
/**
38
* If implemented, returns the current resident set size in MB.
39
* If not, returns -1.
40
*/
41
int
getCurrResidentSetSizeMB
();
42
43
}
// namespace sk_tools
44
45
#endif
// ProcStats_DEFINED
sk_tools
Definition:
ProcStats.h:17
sk_tools::getCurrResidentSetSizeBytes
int64_t getCurrResidentSetSizeBytes()
Definition:
ProcStats.cpp:84
sk_tools::getMaxResidentSetSizeBytes
int64_t getMaxResidentSetSizeBytes()
Definition:
ProcStats.cpp:47
sk_tools::getCurrResidentSetSizeMB
int getCurrResidentSetSizeMB()
Definition:
ProcStats.cpp:92
sk_tools::getMaxResidentSetSizeMB
int getMaxResidentSetSizeMB()
Definition:
ProcStats.cpp:87
Generated on Sun Jun 23 2024 21:56:50 for Flutter Engine by
1.9.4