cpufreq

This utility allows you to use the Enhanced SpeedStep, which is a series of dynamic frequency scaling technologies that's built into variants of microprocessors from Intel, such as the Goldmont core found on the Apollo Lake System-on-a-Chip (SoC).

Syntax:

cpufreg [-i poll_interval] [-p priority] [-P policy] [-v]

Runs on:

QNX Neutrino

Options:

-i poll_interval
Set the polling interval of the CPU accounting, in milliseconds. Default is 1000 milliseconds.
-p priority
Set the priority of the CPU accounting thread. The default is 51.
-P policy
Set CPU clock frequency using one of the following values to specify the policy to use:
  • 0: On-demand. This sets the clock to a low speed.
  • 1: Performance. Run at the highest available clock speed on the core. The frequency varies based on the hardware core that's used.
The default is 0 (on-demand).
-v

Increase output verbosity. The -v option is cumulative; each additional v (up to five) adds a level of verbosity.

Description:

The cpufreq is a utility that you can run on Intel-based platforms with cores that support Intel SpeedStep technology. You run the command to adjust the clock frequency on the core according to the adjustment policy and CPU load.

Examples:

Set the CPU frequency to Performance with high verbosity, at a priority of 50, and poll every 500 milliseconds:

cpufreq -vvv -P1 -i500 -p 50

Exit status:

-1
An invalid option was specified or if an unsupported CPU is detected.
0 (EXIT_SUCCESS)
The utility completed running successfully.