aboutsummaryrefslogtreecommitdiffstats
path: root/cputemp2maxfreq.h
diff options
context:
space:
mode:
Diffstat (limited to 'cputemp2maxfreq.h')
-rw-r--r--cputemp2maxfreq.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/cputemp2maxfreq.h b/cputemp2maxfreq.h
index a901e6d..aefcefc 100644
--- a/cputemp2maxfreq.h
+++ b/cputemp2maxfreq.h
@@ -28,6 +28,8 @@ struct s_cpudata {
long int cur_temp; // CPU's current temperature
long int scale_max; // Governor's maximum scaling frequency
long int transition_latency; // CPU's transition latency
+ char **cpulist; // CPU list, set by cpulist_find_cpus
+ int cpulist_len; // Length of CPU list, set by cpulist_find_cpus
};
struct s_config {
@@ -47,6 +49,7 @@ struct s_config {
char use_unixtime; // Use unixtime timestamps in logs and CSV
long int transition_latency; // User configurable transition latency, <0 for autodetect
int keepstate; // Keep last state on exit (0=set lowest freq)
+ int cpu; // CPU to monior when >=0, all on <0
};
#endif