StartPerformanceMetricsTracking

Increases the count for the performance metrics tracking.

Syntax

Copied!

ADLX_RESULT     StartPerformanceMetricsTracking ()

Parameters

N/A

Return Value

If the count is successfully increased, ADLX_OK is returned.

If the count is not successfully increased, 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 StartPerformanceMetricsTracking. The count is increased by one every time the tracking starts.

By default, the count is zero. The monitoring starts when the first call is made and the count increases by one.

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