Interface IMemoryRecord
interface IMemoryRecord
Extends com.amazon.apmf.IStandard
Base interface which defines different memory types. This helps
the client to query total amount of memory of different memory types
which is being currently used by the client.
Methods
getPssStatKb()
i32 getPssStatKb()
Proportional Set Size Memory represents the amount of physical
memory used by a process, considering shared memory as well.
It includes the private memory of a process plus a proportional
share of any shared memory segments.
Returns
i32
memory size in kilobytes.
getAnonymousStatKb()
i32 getAnonymousStatKb()
Anonymous Memory that is not backed by a file on the filesystem.
This memory represents program’s stack and heap and other types
of non-file-backed allocations.
Returns
i32
memory size in kilobytes.
getUssStatKb()
i32 getUssStatKb()
Unique Set Size Memory represents the memory that is entirely
private to the process meaning it is not shared with any other
processes. It is a combination of private clean and private dirty pages.
Private clean pages are those not modified by the process, while
private dirty pages are those that have been modified.
Returns
i32
memory size in kilobytes.
getPrivate3DGpuStatKb()
i32 getPrivate3DGpuStatKb()
Private memory including texture buffers allocated for
Gpu Rendering which are used only by one process.
They are not IBuffer objects.
Typically in Linux based systems, it means drm resident memory.
Returns
i32
memory size in kilobytes.
getShared3DGpuStatKb()
i32 getShared3DGpuStatKb()
Shared memory including texture buffers and other allocated for Gpu Rendering,
which are used by multiple processes.
They are not IBuffer objects.
Typically in Linux based systems, it means drm shared memory.
Returns
i32
memory size in kilobytes.
getPrivateMediaHardwareStatKb()
i32 getPrivateMediaHardwareStatKb()
IBuffers which are allocated for Media Hardware Accelerated decoding.
This memory is private, not shared with any other process.
Returns
i32
memory size in kilobytes.
getSharedMediaHardwareStatKb()
i32 getSharedMediaHardwareStatKb()
IBuffers which are allocated for Media Hardware Accelerated decoding.
This memory is shared with multiple processes.
Returns
i32
memory size in kilobytes.
getPrivateMediaSoftwareStatKb()
i32 getPrivateMediaSoftwareStatKb()
IBuffers which are allocated for Media Software based decoding.
This memory is private, not shared with any other process.
Returns
i32
memory size in kilobytes.
getSharedMediaSoftwareStatKb()
i32 getSharedMediaSoftwareStatKb()
IBuffers which are allocated for Media Software based decoding.
This memory is shared with multiple processes.
Returns
i32
memory size in kilobytes.
getPrivateCameraStatKb()
i32 getPrivateCameraStatKb()
IBuffers which are allocated for Camera Usage.
This memory is private, not shared with any other process.
Returns
i32
memory size in kilobytes.
getSharedCameraStatKb()
i32 getSharedCameraStatKb()
IBuffers which are allocated for Camera Usage.
This memory is shared with multiple processes.
Returns
i32
memory size in kilobytes.
getPrivate3DStatKb()
i32 getPrivate3DStatKb()
IBuffers which are allocated for 2D and 3D rendering usage.
This memory is private, not shared with any other process.
Returns
i32
memory size in kilobytes.
getShared3DStatKb()
i32 getShared3DStatKb()
IBuffers which are allocated for 2D and 3D rendering usage.
This memory is shared with multiple processes.
Returns
i32
memory size in kilobytes.

