MonitorEvent Class

This class represents a monitoring event. All other event classes derive from this class. This class contains several properties that are common to all events.

Inheritance Hierarchy

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

    More...

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 MonitorEvent

 

The MonitorEvent type exposes the following members.

Constructors

 

Name Description

Public method

MonitorEvent

Default constructor.

Public method

MonitorEvent (MonitorEvent)

Copy constructor.

Properties

  Name Description

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.

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.

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.

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.

Public property

Processor

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

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.

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, as follows:

  • Class MonitorEventAttachInterruptLineBased - The UniqueID property is 0.
  • Class MonitorEventAttachInterruptMessageBased - The UniqueID property is 0.
  • Class MonitorEventCancelTimer - The UniqueID property holds the ID of a timer object.
  • Class MonitorEventContextSwitch - The UniqueID property is 0.
  • Class MonitorEventCriticalSectionDelete - The UniqueID property holds the ID of the deleted critical section object.
  • Class MonitorEventCriticalSectionEnter - The UniqueID property holds the ID of the critical section object.
  • Class MonitorEventCriticalSectionInit - The UniqueID property holds the ID of the initialized critical section object.
  • Class MonitorEventCriticalSectionLeave - The UniqueID property holds the ID of the critical section object.
  • Class MonitorEventCustom - The UniqueID property is 0.
  • Class MonitorEventDataLost - The UniqueID property is 0.
  • Class MonitorEventEventCreate - The UniqueID property holds the ID of the created event object.
  • Class MonitorEventEventDestroy - The UniqueID property holds the ID of the destroyed event object.
  • Class MonitorEventEventOpen - The UniqueID property holds the ID of the opened event object.
  • Class MonitorEventEventPulse - The UniqueID property holds the ID of the pulsed event object.
  • Class MonitorEventEventReset - The UniqueID property holds the ID of the event object that was reset.
  • Class MonitorEventEventSet - The UniqueID property holds the ID of the event object that was set.
  • Class MonitorEventExceptionInterrupt - The UniqueID property is 0.
  • Class MonitorEventFastSemaphoreAcquire - The UniqueID property holds the ID of the acquired fast semaphore object.
  • Class MonitorEventFastSemaphoreInit - The UniqueID property holds the ID of the initialized fast semaphore object.
  • Class MonitorEventFastSemaphoreRelease - The UniqueID property holds the ID of the released fast semaphore object.
  • Class MonitorEventFastSemaphoreReleaseAll - The UniqueID property holds the ID of the released fast semaphore object.
  • Class MonitorEventHandleClosed - The UniqueID property holds the ID of the wRTOS Subsystem object to which the handle refers.
  • Class MonitorEventHeapAlloc - The UniqueID property holds the ID of the heap object.
  • Class MonitorEventHeapAllocFailed - The UniqueID property holds the ID of the heap object.
  • Class MonitorEventHeapCreate - The UniqueID property holds the ID of the created heap object.
  • Class MonitorEventHeapDestroy - The UniqueID property is holds the ID of the destroyed heap object.
  • Class MonitorEventHeapFree - The UniqueID property holds the ID of the heap object.
  • Class MonitorEventHeapFreeFail - The UniqueID property holds the ID of the heap object.
  • Class MonitorEventIdealProcessorSet - The UniqueID property holds the ID of the thread for which the ideal processor was set.
  • Class MonitorEventInterruptLineBasedRelease - The UniqueID property is 0.
  • Class MonitorEventInterruptMessagebasedRelease - The UniqueID property is 0.
  • Class MonitorEventIstHandler - The UniqueID property is 0.
  • Class MonitorEventMarker - The UniqueID property is 0.
  • Class MonitorEventMemoryMap - The UniqueID property is 0.
  • Class MonitorEventMemoryUnmap - The UniqueID property is 0.
  • Class MonitorEventModuleLoad - The UniqueID property is 0.
  • Class MonitorEventModuleUnload - The UniqueID property is 0.
  • Class MonitorEventMutexCreate - The UniqueID property holds the ID of the created mutex object.
  • Class MonitorEventMutexDestroy - The UniqueID property holds the ID of the destroyed mutex object.
  • Class MonitorEventMutexOpen - The UniqueID property holds the ID of the opened mutex object.
  • Class MonitorEventMutexRelease - The UniqueID property holds the ID of the released mutex object.
  • Class MonitorEventPriorityDemotion - The UniqueID property is 0.
  • Class MonitorEventPriorityPromotion - The UniqueID property is 0.
  • Class MonitorEventProcessAffinityMaskSet - The UniqueID property is 0.
  • Class MonitorEventProcessCreate - The UniqueID property holds the ID of the created process object.
  • Class MonitorEventProcessDestroy - The UniqueID property holds the ID of the destroyed process object.
  • Class MonitorEventProcessOpen - The UniqueID property holds the ID of the opened process object.
  • Class MonitorEventSemaphoreCreate - The UniqueID property holds the ID of the created semaphore object.
  • Class MonitorEventSemaphoreDestroy - The UniqueID property holds the ID of the destroyed semaphore object.
  • Class MonitorEventSemaphoreOpen - The UniqueID property holds the ID of the opened semaphore object.
  • Class MonitorEventSemaphoreRelease - The UniqueID property holds the ID of the released semaphore object.
  • Class MonitorEventSharedMemoryCreate - The UniqueID property holds the ID of the created shared memory object.
  • Class MonitorEventSharedMemoryDestroy - The UniqueID property holds the ID of the destroyed shared memory object.
  • Class MonitorEventSharedMemoryOpen - The UniqueID property holds the ID of the opened shared memory object.
  • Class MonitorEventShutdownHandlerCalled - The UniqueID property holds the ID of the shutdown handler object.
  • Class MonitorEventShutdownHandlerCreate - The UniqueID property is holds the ID of the created shutdown handler object.
  • Class MonitorEventShutdownHandlerDestroy - The UniqueID property is 0.
  • Class MonitorEventSubsystemStop - The UniqueID property is 0.
  • Class MonitorEventSuspendThread - The UniqueID property holds the ID of the suspended thread.
  • Class MonitorEventTLSAlloc - The UniqueID property is 0.
  • Class MonitorEventTLSFree - The UniqueID property is 0.
  • Class MonitorEventTLSFreeFail - The UniqueID property is 0.
  • Class MonitorEventThreadAffinityMaskSet - The UniqueID property holds the ID of the thread for which the affinity mask was set.
  • Class MonitorEventThreadCreate - The UniqueID property holds the ID of the created thread.
  • Class MonitorEventThreadDestroy - The UniqueID property holds the ID of the destroyed thread.
  • Class MonitorEventThreadPrioritySet - The UniqueID property holds the ID of the thread for which the priority was set.
  • Class MonitorEventThreadQuantumSet - The UniqueID property holds the ID of the thread for which the time quantum was set.
  • Class MonitorEventThreadResume - The UniqueID property holds the ID of the resumed thread.
  • Class MonitorEventThreadSleep - The UniqueID property holds the ID of the sleeping thread.
  • Class MonitorEventTimeQuantumExpired - The UniqueID property holds the ID of the thread for which the time quantum expired.
  • Class MonitorEventTimerCreate - The UniqueID property holds the ID of the created timer.
  • Class MonitorEventTimerDestroy - The UniqueID property holds the ID of the destroyed timer.
  • Class MonitorEventTimerExpire - The UniqueID property holds the ID of the expired timer.
  • Class MonitorEventTimerSet - The UniqueID property holds the ID of the timer that was set.
  • Class MonitorEventUnhandledExceptionFilterCalled - The UniqueID property is 0.
  • Class MonitorEventUnhandledExceptionFilterSet - The UniqueID property is 0.
  • Class MonitorEventWFMOEXReturned - The UniqueID property is 0.
  • Class MonitorEventWFMOEXWait - The UniqueID property holds the ID of the waiting thread.
  • Class MonitorEventWFSOEXReturned - The UniqueID property is 0.
  • Class MonitorEventWFSOEXWait - The UniqueID property holds the ID of the waiting thread.
  • Class MonitorEventWindowsMemoryAlloc - The UniqueID property holds the ID of the thread that allocated memory.
  • Class MonitorEventWindowsMemoryAllocFailed - The UniqueID property holds the ID of the thread that attempted to allocate memory.
  • Class MonitorEventWindowsMemoryFree - The UniqueID property holds the ID of the thread freeing memory.
  • Class MonitorEventWindowsMemoryFreeFail - The UniqueID property holds the ID of the thread that attempted to free memory.

Methods

  Name Description

Public method Static member

GetEventTypeString

Returns a string representation of an event kind enumerator.

Public method

ToString

Returns a string representation of this monitoring event.

(Overrides Object.ToString)

See Also:

Inheritance Hierarchy

System.Object
  IntervalZero.MaxRT.wRTOS.Monitor.MonitorEvent
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventAttachInterruptLineBased
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventAttachInterruptMessageBased
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventCancelTimer
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventContextSwitch
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventCriticalSectionDelete
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventCriticalSectionEnter
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventCriticalSectionInit
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventCriticalSectionLeave
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventCustom
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventDataLost
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventEventCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventEventDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventEventOpen
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventEventPulse
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventEventReset
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventEventSet
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventExceptionInterrupt
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventFastSemaphoreAcquire
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventFastSemaphoreInit
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventFastSemaphoreRelease
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventFastSemaphoreReleaseAll
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventFileCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventFileDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventHandleClosed
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventHeapAlloc
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventHeapAllocFailed
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventHeapCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventHeapDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventHeapFree
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventHeapFreeFail
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventIdealProcessorSet
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventInterruptLineBasedRelease
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventInterruptMessagebasedRelease
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventIstHandler
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventMarker
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventMemoryMap
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventMemoryUnmap
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventModuleLoad
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventModuleUnload
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventMutexCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventMutexDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventMutexOpen
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventMutexRelease
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventPriorityDemotion
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventPriorityPromotion
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventProcessAffinityMaskSet
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventProcessCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventProcessDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventProcessOpen
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventReserved
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSemaphoreCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSemaphoreDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSemaphoreOpen
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSemaphoreRelease
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSharedMemoryCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSharedMemoryDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSharedMemoryOpen
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventShutdownHandlerCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventShutdownHandlerDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSriToWindows
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSriToWindowsReturn
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSubsystemStop
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventSuspendThread
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventThreadAffinityMaskSet
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventThreadCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventThreadDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventThreadPrioritySet
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventThreadQuantumSet
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventThreadResume
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventThreadSleep
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventThreadTerminate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventTimeQuantumExpired
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventTimerCreate
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventTimerDestroy
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventTimerExpire
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventTimerSet
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventTLSAlloc
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventTLSFree
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventTLSFreeFail
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventUnhandledExceptionFilterCalled
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventUnhandledExceptionFilterSet
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventWFMOEXReturned
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventWFMOEXWait
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventWFSOEXReturned
    IntervalZero.MaxRT.wRTOS.Monitor.MonitorEventWFSOEXWait