Skip to content

GetCurrentPerformanceMetricsHistorySize

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXPerformanceMonitoringServices

Syntax

ADLX_RESULT    GetCurrentPerformanceMetricsHistorySize (adlx_int* sizeSec)

Parameters

#DirectionNameTypeDescription
1.[out]sizeSecadlx_int*The pointer to a variable where the duration (in second) is returned.

Return Value

If the duration is successfully returned, ADLX_OK is returned.

If the duration is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The buffer duration ranges between 50 s and 100 s. The default size is 100 s. 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