MonitorEventProcessCreate Class

This class represents the creation of a real-time process. This happens when RtCreateProcess is called and when a Windows process loads RTAPI.DLL, which creates a real-time proxy process for the Windows process.

Inheritance Hierarchy

System.Object
  IntervalZero.MaxRT.wRTOS.Monitor.MonitorEvent
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventProcessCreate

Namespace:  IntervalZero.MaxRT.wRTOS.Monitor
Assembly:  IntervalZero.MaxRT.wRTOS (in IntervalZero.MaxRT.wRTOS.dll) Version: 1.0.0.0 (File version: 1.0.0)

Syntax

Copy
public class MonitorEventProcessCreate : MonitorEvent

 

The MonitorEventProcessCreate class exposes the following members.

Constructors

 

Name Description

Public method

MonitorEventProcessCreate

Default constructor.

Properties

  Name Description

Public property

AffinedProcessor

The number of the processor to which this process is affined.

Public property

CommandLine

The process's command line. This is the empty string for proxy processes.

Public property

ErrorMsg

If a problem was encountered during parsing of this event, this property references a string containing an error message, otherwise this property is null.

(Inherited from MonitorEvent.)

Public property

EventProcessID

This is the process ID of the process that generated this event. This ID might NOT be the ID of the process to which this event applies, because some events are generated from system processes about activity performed by user processes.

(Inherited from MonitorEvent.)

Public property

EventThreadID

This is the thread ID of the thread that generated this event. This ID might NOT be the ID of the thread to which this event applies, because some events are generated from system threads about activity performed by user threads.

(Inherited from MonitorEvent.)

Public property

ExecutablePath

The pathname of the executable for this process. This is the empty string for proxy processes.

Public property

ExternalMSpace

The process's external MSpace pointer.

Public property

ExternalMSpaceCommit

Indicates whether Non-Paged memory is allocated from Windows into the Local Pool of the process’s external MSpace at Subsystem startup.

Public property

ExternalMSpaceExpandable

Indicates whether the RTSS process’s external MSpace will expand to meet memory demands.

Public property

ExternalMSpaceExpandSize

The size by which the process’s external MSpace will expand when it is set to auto expand.

Public property

ExternalMSpaceInitialSize

The initial size of the process’s external MSpace.

Public property

ExternalMSpaceShrinkable

Indicates whether the process’s external MSpace will shrink when freeing memory allocated directly from the Local Pool.

Public property

Flags

wRTOS process flags.

Public property

Handle

The first handle created for the process. wRTOS internal system processes (such as proxy processes that perform work on behalf of Windows applications linked to RTAPI.DLL) do not have handles. In those cases, this field will be zero.

Public property

InitialThreadID

The thread ID of the process's initial thread.

Public property

InternalMSpace

The process's internal MSpace pointer.

Public property

InternalMSpaceExpandable

Indicates whether the RTSS process’s internal MSpace will expand to meet memory demands.

Public property

InternalMSpaceExpandSize

The size by which the process’s internal MSpace will expand when it is set to auto expand.

Public property

InternalMSpaceInitialSize

The initial size of the process’s internal MSpace.

Public property

InternalMSpaceShrinkable

Indicates whether the process’s internal MSpace will shrink when freeing memory allocated directly from the Local Pool.

Public property

IsProxyProcess

This is true if the process is a proxy process, false otherwise.

Public property

Kind

This is the kind of the monitoring event. See enumeration IntervalZero.MaxRT.wRTOS.Monitor.MF_EVENT_KIND for the various kinds of monitoring events.

(Inherited from MonitorEvent.)

Public property

ProcessAffinityMask

The processor affinity mask of this process.

Public property

ProcessID

The process ID of the process. A proxy process has the process ID of the Windows process for which it is a proxy. All real-time non-proxy processes have odd process IDs greater than 1000. All Windows process IDs are even numbers.

Public property

Processor

This is the processor number of the processor that generated this event.

(Inherited from MonitorEvent.)

Public property

ReferenceCount

The reference count of the wRTOS process object.

Public property

TimeStampCounter

This is the value of the Time Stamp Counter (TSC) on the processor where this event was generated at the time this event was generated.

(Inherited from MonitorEvent.)

Public property

UniqueID

This is a unique identifier of a wRTOS Subsystem object associated with this event. If no unique ID was available when this event was generated, this property will be zero. Each subclass of this class has a different meaning for this property. See MonitorEvent for descriptions of the possible identifiers.

(Inherited from MonitorEvent.)

Public property

UseLocalMemory

True if this process is using local memory, false if it is using Windows memory.

Methods

  Name Description

Public method

ToString

Returns a string representation of this monitoring event.

(Overrides MonitorEvent.ToString.)

Fields

  Name Description

Public field Static member

RPROC_FLAG_PROXY

If this bit in property Flags is set, the process is a wRTOS proxy process.

Public field Static member

RPROC_FLAG_SYSTEM

If this bit in property Flags is set, the process is a wRTOS system process.

See Also: