Class ProcessMemoryUsage

Definition

Namespace:
Tizen.System
Assembly:
Tizen.System.Information.dll
API Level:
4

The class for memory information per process.

C#
Copy
public class ProcessMemoryUsage : object
Inheritance
ProcessMemoryUsage

Constructors

View Source

ProcessMemoryUsage(IEnumerable<Int32>)

The constructor of ProcessMemoryInformation class.

Declaration
C#
Copy
public ProcessMemoryUsage(IEnumerable<int> pid)
Parameters
Type Name Description
IEnumerable<Int32> pid

List of unique process ids.

API Level: 4

Properties

View Source

Count

The number of usage entries.

Declaration
C#
Copy
public int Count { get; }
Property Value
Type Description
Int32
API Level: 4

Methods

View Source

GetGemRss(Int32)

Gets the resident set size in graphic execution manager of a process.

Declaration
C#
Copy
public int GetGemRss(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The resident set size pid is using (KiB).

View Source

GetGPU(Int32)

Gets the GPU memory size of a process.

Declaration
C#
Copy
public int GetGPU(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The GPU memory size pid is using (KiB).

View Source

GetPrivateClean(Int32)

Gets the size not modified and available only to that process of a process.

Declaration
C#
Copy
public int GetPrivateClean(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The private clean memory size pid is using (KiB).

API Level: 4
View Source

GetPrivateDirty(Int32)

Gets the size modified and available only to that process of a process.

Declaration
C#
Copy
public int GetPrivateDirty(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The private dirty memory size pid is using (KiB).

API Level: 4
View Source

GetPss(Int32)

Gets the proportional set size of a process.

Declaration
C#
Copy
public int GetPss(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The proportional set size pid is using (KiB).

API Level: 4
View Source

GetRss(Int32)

Gets the resident set size of a process.

Declaration
C#
Copy
public int GetRss(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The resident set size pid is using (KiB).

API Level: 4
View Source

GetSharedClean(Int32)

Gets the size not modified and mapped by other processes of a process.

Declaration
C#
Copy
public int GetSharedClean(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The shared clean memory size pid is using (KiB).

API Level: 4
View Source

GetSharedDirty(Int32)

Gets the size modified and mapped by other processes of a process.

Declaration
C#
Copy
public int GetSharedDirty(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The shared dirty memory size pid is using (KiB).

API Level: 4
View Source

GetSwap(Int32)

Gets the SWAP memory size of a process.

Declaration
C#
Copy
public int GetSwap(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The SWAP memory size pid is using (KiB).

View Source

GetVsz(Int32)

Gets the virtual memory size of a process.

Declaration
C#
Copy
public int GetVsz(int pid)
Parameters
Type Name Description
Int32 pid

The process id.

Returns
Type Description
Int32

The virtual memory size pid is using (KiB).

API Level: 4
View Source

Update(IEnumerable<Int32>)

Update the process memory information to the latest.

Declaration
C#
Copy
public void Update(IEnumerable<int> pid)
Parameters
Type Name Description
IEnumerable<Int32> pid

List of unique process ids.

API Level: 4

Extension Methods