RtssEnvironment.QueryProcessMSpace Method

Queries memory allocation space information for the specified process MSpace, including various summary statistics of its local pool and pool cache.

Namespace:  IntervalZero.MaxRT.wRTOS.RtApi
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.1)

Syntax

Copy
public static long QueryProcessMSpace(
    IntPtr mspace,
    out MSPACE_INFO mspaceInfo,
    ulong DumpLevel
)

Parameters

mspace

A descriptor to the external or MSpace space of the RTSS process, as returned by GetProcessMSpace. If NULL, it specifies the external MSpace of the current process.

mspaceInfo

A pointer set by this API to point to an instance of structure MSPACE_INFO that holds the descriptor of the specified MSpace.

DumpLevel

An output level for additional debug information:

Note: If DumpLevel is greater than zero, QueryProcessMSpace will produce output to the server console using RtPrintf.

Return Value

Type: Void

See Also: