MCPcopy Create free account
hub / github.com/F-Stack/f-stack / power_set_governor_original

Function power_set_governor_original

dpdk/lib/power/power_cppc_cpufreq.c:414–418  ·  view source on GitHub ↗

* It is to check the governor and then set the original governor back if * needed by writing the sys file. */

Source from the content-addressed store, hash-verified

412 * needed by writing the sys file.
413 */
414static int
415power_set_governor_original(struct cppc_power_info *pi)
416{
417 return power_set_governor(pi->lcore_id, pi->governor_ori, NULL, 0);
418}
419
420int
421power_cppc_cpufreq_exit(unsigned int lcore_id)

Callers 1

power_cppc_cpufreq_exitFunction · 0.70

Calls 1

power_set_governorFunction · 0.85

Tested by

no test coverage detected