RtfwEnableMonitoring

RtfwEnableMonitoring enables RTX64 Monitoring within the Subsystem.

Syntax

bool RtfwEnableMonitoring(
);

Parameters

This function has no parameters.

Return Value

The function returns true if it succeeds. Otherwise, it returns false. Call GetLastError for additional error information.

Possible error codes:

Error Code Meaning
RT_ERROR_MONITORING_ALREADY_ENABLED Monitoring is already enabled.
RT_ERROR_SUBSYSTEM_NOT_STARTED The RTX64 Subsystem is not started.

Remarks

If Monitoring support is disabled, you will not be able to start monitoring deterministically. By disabling monitoring support, the Subsystem does not allocate and create the necessary infrastructure to support event collection.

Monitoring cannot be started when it’s disabled. Nor can it be disabled when it’s started.

Requirements

Minimum Required Version RTX64 3.4
Header RtfwAPI.h
Library RtfwAPI.lib

See Also:

RtfwDisableMonitoring

RtfwStartMonitoring

RtfwStartMonitoring