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.RTX64.RTAPI
Assembly:  IntervalZero.RTX64 (in IntervalZero.RTX64.dll) Version: 4.0.0.0 (File version: 4.5.0)

Syntax
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:

  • 0: fill in the provided structure
  • 1: fills in the provided structure and outputs information to the RTX64 Server Console on the specified MSpace. This option is non-deterministic.
  • 2: fills in the provided structure and outputs information to the RTX64 Server Console on the specified MSpace, including chunk information within the local pool and pool cache. This option is non-deterministic.

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

Return Value

Type: Void

See Also