Class ProcessMemoryUsage

    Definition

    Namespace:
    Tizen.System
    Assembly:
    Tizen.System.Information.dll

    The class for memory information per process.

    public class ProcessMemoryUsage
    Inheritance
    object
    ProcessMemoryUsage

    Constructors

    View Source

    ProcessMemoryUsage(IEnumerable<int>)

    The constructor of ProcessMemoryInformation class of the given list of process. It internally call Update() on constructing an instance.

    Declaration
    public ProcessMemoryUsage(IEnumerable<int> pid)
    Parameters
    Type Name Description
    IEnumerable<><int> pid

    List of unique process ids.

    Properties

    View Source

    Count

    The number of processes being tracked by the instance.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    Methods

    View Source

    GetGemRss(int)

    Gets the resident set size in graphic execution manager of a process. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetGemRss(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

    The resident set size pid is using (KiB).

    View Source

    GetGPU(int)

    Gets the GPU memory size of the given process. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetGPU(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

    The GPU memory size pid is using (KiB).

    View Source

    GetPrivateClean(int)

    Gets the memory size of the given process that is not modified and available only to it. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetPrivateClean(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

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

    View Source

    GetPrivateDirty(int)

    Gets the memory size of the given process that is modified and available only to it. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetPrivateDirty(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

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

    View Source

    GetPss(int)

    Gets the proportional set size of the given process. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetPss(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

    The proportional set size pid is using (KiB).

    View Source

    GetRss(int)

    Gets the resident set size of the given process. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetRss(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

    The resident set size pid is using (KiB).

    View Source

    GetSharedClean(int)

    Gets the memory size of the given process that is not modified and mapped by other processes. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetSharedClean(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

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

    View Source

    GetSharedDirty(int)

    Gets the memory size of the given process that is modified and mapped by other processes. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetSharedDirty(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

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

    View Source

    GetSwap(int)

    Gets the SWAP memory size of the given process. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetSwap(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

    The SWAP memory size pid is using (KiB).

    View Source

    GetVsz(int)

    Gets the virtual memory size of the given process. To get the latest value, it is recommended to call Update() before it.

    Declaration
    public int GetVsz(int pid)
    Parameters
    Type Name Description
    int pid

    The process id.

    Returns
    Type Description
    int

    The virtual memory size pid is using (KiB).

    View Source

    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.

    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX