samplingDurationMillis property

double samplingDurationMillis
getter/setter pair

The minimum elapsed time required before performance statistics become available. It's important to note that the actual collection interval may exceed this duration since statistics are aggregated during render calls. The effective collection interval can be observed through the PerformanceStatistics instance. Setting samplingDurationMillis to 0 forces the collection of performance statistics every frame.

A negative sampling duration is an error and results in no operation.

Implementation

double samplingDurationMillis;