RtfwDisableMonitoring
RtfwDisableMonitoring disables RTX64 Monitoring support within the Subsystem.
Syntax
bool RtfwDisableMonitoring( );
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_DISABLED | Monitoring is already disabled. |
RT_ERROR_MONITORING_IS_STARTED |
Monitoring is currently started. |
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.
In RTX64 4.2 and later, disabling monitoring may take longer than in pre-4.2 versions.
Requirements
Minimum Required Version | RTX64 3.4 |
Header | RtfwAPI.h |
Library | RtfwAPI.lib |
See Also: