ppsm_set_polling_interval()

int ppsm_set_polling_interval( void *handle,
                               int interval,
                               int scale_factor );

This function sets the polling interval and the scaling factor. The arguments are:

handle
The handle returned by ppsm_init().
interval
The interval (in ms) at which to check the CPU load and put the CPU into the desired state according to the current CPU load.
scale_factor
When the system is busy (when the target state or the current state is at the highest performance state), the polling time = interval × scale_factor.

The ppsm_set_polling_interval() function returns -1 on error (e.g. interval is less than 1).