#include #include #include #include #include "cputemp2maxfreq.h" #include "debug.h" #include "logger.h" extern struct s_config config; void printhelp() { printf( "Usage: %s \n" "\n" "Scaling options:\n" "-d Transition latency in us or \"auto\" for autodetect\n" " Default: auto\n" "-f Fallback frequency in KHz, used when everything fails\n" " Default: %ld\n" "-g cpufreq governor to use, use \"keep\" to keep current governor\n" " Default: %s\n" "-i Input for temperature readout, this can be specified as:\n" " A full path that starts with /, usually somewhere in sysfs\n" " A sensor name, for example \"Core 0\"\n" " The word \"auto\" autodetects a valid sensor\n" " Default: %s\n" "-p