Skip to content

SetSamplingInterval

Navigation: ADLX SDK ReferencesADLX InterfacesPerformance MonitoringIADLXPerformanceMonitoringServices

Syntax

ADLX_RESULT    SetSamplingInterval (adlx_int intervalMs)

Parameters

#DirectionNameTypeDescription
1.[in]intervalMsadlx_intThe sampling interval (in millisecond).

Return Value

If the sampling interval is successfully set, ADLX_OK is returned.

If the sampling interval is not successfully set, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks

The sampling interval is the time gap between two samples. Obtain the sampling interval range with GetSamplingIntervalRange. The default sampling interval is 1000 ms.

Requirements

Headerinclude “IPerformanceMonitoring.h”
Minimum version1.0

See Also: GetSamplingIntervalRange, ADLX Enums