diff options
author | PA4WDH | 2023-05-27 10:47:05 +0200 |
---|---|---|
committer | PA4WDH | 2023-05-27 10:47:05 +0200 |
commit | bd331dbb839d7ee8b2d8abeb89d4fd650db58a9d (patch) | |
tree | 617c55fff6034445caf56ff4c65779bda5b3d7f5 /cpufreq.c | |
parent | Added restart delay in Gentoo initscript (diff) | |
download | cputemp2maxfreq-bd331dbb839d7ee8b2d8abeb89d4fd650db58a9d.tar.gz cputemp2maxfreq-bd331dbb839d7ee8b2d8abeb89d4fd650db58a9d.tar.bz2 cputemp2maxfreq-bd331dbb839d7ee8b2d8abeb89d4fd650db58a9d.zip |
Use CPU Transition Latency as checkdelay when setting new scaling_max_freq
Diffstat (limited to 'cpufreq.c')
-rw-r--r-- | cpufreq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,7 +22,7 @@ int cpufreq_is_cpu(char *name) } // Set a cpufreq parameter to a value -int cpufreq_set_str(char *parameter,char *value,int checkdelay) +int cpufreq_set_str(char *parameter,char *value,long int checkdelay) { int fd; char sysfs_file[128]; @@ -94,7 +94,7 @@ int cpufreq_set_str(char *parameter,char *value,int checkdelay) // This is just a wrapper around cpufreq_set_str with long int to string // convertion -int cpufreq_set_long_int(char *parameter,long int value,int checkdelay) +int cpufreq_set_long_int(char *parameter,long int value,long int checkdelay) { char buf[255]; |