|
Sound Open Firmware
|
CPU clk manager definition. More...

Go to the source code of this file.
Data Structures | |
| struct | kcps_budget_data |
| CPS budget data. More... | |
Functions | |
| int | core_kcps_adjust (int core, int kcps_delta) |
| Declare KCPS usage on core. | |
| int | core_kcps_get (int core) |
| Get KCPS usage on core. | |
| int | kcps_budget_init (void) |
| Init KCPS budget mechanism. | |
CPU clk manager definition.
| int core_kcps_adjust | ( | int | core, |
| int | kcps_delta ) |
Declare KCPS usage on core.
Declare KCPS (kilo cycles per second) CPU usage on core and adjust CPU clock according to sum of declared consumptions.
Declared consumption can be negative in case of freeing CPS.
| core | The core to which consumption should be pinned |
| kcps_delta | declared usage. Can be negative. |
| int core_kcps_get | ( | int | core | ) |
Get KCPS usage on core.
Get declared KCPS usage on core
| core | The core which consumption should be returned |
| int kcps_budget_init | ( | void | ) |
Init KCPS budget mechanism.