Set the automatic statistics collection interval, in seconds.

Synopsis

Declared in <balb_performancemonitor.h>

void
setCollectionInterval(double interval);

Description

Set the specified time interval, in seconds, after which statistics for each registered pid are automatically collected. The behavior is undefined unless a scheduler was supplied at the construction of this performance monitor. A non‐positive interval value indicates that performance statistics should not be automatically collected‐‐in this case the user is responsible for manually calling the collect function.

Parameters

Name

Description

interval

seconds between automatic collections; non‐positive disables automatic collection

Created with MrDocs