Class ProcessMemoryUsage
Definition
- Assembly:
- Tizen.System.Information.dll
The class for memory information per process.
public class ProcessMemoryUsage
- Inheritance
-
objectProcessMemoryUsage
Constructors
View SourceProcessMemoryUsage(IEnumerable<int>)
The constructor of ProcessMemoryInformation class.
Declaration
public ProcessMemoryUsage(IEnumerable<int> pid)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<><int> | pid | List of unique process ids. |
Properties
View SourceCount
The number of usage entries.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int |
Methods
View SourceGetGemRss(int)
Gets the resident set size in graphic execution manager of a process.
Declaration
public int GetGemRss(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The resident set size |
GetGPU(int)
Gets the GPU memory size of a process.
Declaration
public int GetGPU(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The GPU memory size |
GetPrivateClean(int)
Gets the size not modified and available only to that process of a process.
Declaration
public int GetPrivateClean(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The private clean memory size |
GetPrivateDirty(int)
Gets the size modified and available only to that process of a process.
Declaration
public int GetPrivateDirty(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The private dirty memory size |
GetPss(int)
Gets the proportional set size of a process.
Declaration
public int GetPss(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The proportional set size |
GetRss(int)
Gets the resident set size of a process.
Declaration
public int GetRss(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The resident set size |
GetSharedClean(int)
Gets the size not modified and mapped by other processes of a process.
Declaration
public int GetSharedClean(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The shared clean memory size |
GetSharedDirty(int)
Gets the size modified and mapped by other processes of a process.
Declaration
public int GetSharedDirty(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The shared dirty memory size |
GetSwap(int)
Gets the SWAP memory size of a process.
Declaration
public int GetSwap(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The SWAP memory size |
GetVsz(int)
Gets the virtual memory size of a process.
Declaration
public int GetVsz(int pid)
Parameters
Type | Name | Description |
---|---|---|
int | pid | The process id. |
Returns
Type | Description |
---|---|
int | The virtual memory size |
Update(IEnumerable<int>)
Update the process memory information to the latest.
Declaration
public void Update(IEnumerable<int> pid)
Parameters
Type | Name | Description |
---|---|---|
IEnumerable<><int> | pid | List of unique process ids. |