mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user