Perform CPU-related initialization for DVFS
#include <hw/dvfs_api.h> int dvfs_init(void *handle );
The dvfs_init() function performs CPU initialization required for CPU load calculation and voltage/frequency scaling. This function is also expected to initiate and kick off CPU load calculation gear (threads, hardware, interrupts) in order to deliver CPU load related events to the main control thread.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |