[v0.87][FREQ] Frequency in udev is now fetched as a per core basis. Before this commit, freq was always fetched from core 0. This allows ARM do detect the max frequency of each of the cores (which may or may not be the same in all of them)

This commit is contained in:
Dr-Noob
2020-11-22 10:23:02 +01:00
parent 0875c4d425
commit fcb2c716db
5 changed files with 24 additions and 22 deletions

View File

@@ -3,8 +3,8 @@
#include <stdint.h>
long get_max_freq_from_file();
long get_min_freq_from_file();
long get_max_freq_from_file(uint32_t core);
long get_min_freq_from_file(uint32_t core);
#ifdef ARCH_ARM
int get_ncores_from_cpuinfo();