Skip to content

StartPerformanceMetricsTracking

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXPerformanceMonitoringServices

Syntax

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

Headerinclude “IPerformanceMonitoring.h”
Minimum version1.0

See Also: ADLX Enums