Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Functions
sk_tools Namespace Reference

Classes

class  Registry
 

Functions

int64_t getCurrResidentSetSizeBytes ()
 
int64_t getMaxResidentSetSizeBytes ()
 
int getMaxResidentSetSizeMB ()
 
int getCurrResidentSetSizeMB ()
 

Detailed Description

ProcStats - Process Statistics Functions

Function Documentation

◆ getCurrResidentSetSizeBytes()

int64_t sk_tools::getCurrResidentSetSizeBytes ( )

If implemented, returns the current resident set size in bytes. If not, returns -1.

Definition at line 84 of file ProcStats.cpp.

84{ return -1; }

◆ getCurrResidentSetSizeMB()

int sk_tools::getCurrResidentSetSizeMB ( )

If implemented, returns the current resident set size in MB. If not, returns -1.

Definition at line 92 of file ProcStats.cpp.

92 {
94 return bytes < 0 ? -1 : static_cast<int>(bytes / 1024 / 1024);
95}
int64_t getCurrResidentSetSizeBytes()
Definition ProcStats.cpp:84

◆ getMaxResidentSetSizeBytes()

int64_t sk_tools::getMaxResidentSetSizeBytes ( )

If implemented, returns the maximum resident set size in MB. If not, returns -1.

Definition at line 47 of file ProcStats.cpp.

47{ return -1; }

◆ getMaxResidentSetSizeMB()

int sk_tools::getMaxResidentSetSizeMB ( )

If implemented, returns the maximum resident set size in MB. If not, returns -1.

Definition at line 87 of file ProcStats.cpp.

87 {
89 return bytes < 0 ? -1 : static_cast<int>(bytes / 1024 / 1024);
90}
int64_t getMaxResidentSetSizeBytes()
Definition ProcStats.cpp:47