StopPerformanceMetricsTracking

Decreases the count for the performance metrics tracking.

Syntax

Copied!

ADLX_RESULT     StopPerformanceMetricsTracking ()

Parameters

N/A

Return Value

If the count is successfully decreased, ADLX_OK is returned.

If the count is not successfully decreased, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes

Remarks

ADLX reserves one buffer for the performance data. A count is used to keep a track of the calls to the StopPerformanceMetricsTracking.

When the StopPerformanceMetricsTracking is called, the count is decreased by one. When the count reaches zero, the monitoring stops.

If the monitoring continues longer than the buffer duration, the old performance samples are discarded to give buffer space to the new samples.

Requirements

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0