aboutsummaryrefslogtreecommitdiffstats
path: root/cputemp2maxfreq.h
diff options
context:
space:
mode:
authorPA4WDH2023-05-24 12:57:25 +0200
committerPA4WDH2023-05-24 12:57:25 +0200
commit16fb812a46d0e8cde432b58f7dbf6fce147eb89f (patch)
tree9e019f98e515cb21e6c38ff487a82fe375675991 /cputemp2maxfreq.h
parentDetect program name from argv[0] (diff)
downloadcputemp2maxfreq-16fb812a46d0e8cde432b58f7dbf6fce147eb89f.tar.gz
cputemp2maxfreq-16fb812a46d0e8cde432b58f7dbf6fce147eb89f.tar.bz2
cputemp2maxfreq-16fb812a46d0e8cde432b58f7dbf6fce147eb89f.zip
Add CSV logging
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 6eb5726..984fabc 100644
--- a/cputemp2maxfreq.h
+++ b/cputemp2maxfreq.h
@@ -36,6 +36,9 @@ struct s_config {
char logger_name[10]; // Name of the logging function
void (*logger)(char *,...); // Pointer to the logging function
char log_data; // Option to log measurement data
+ char csvlog[255]; // CSV logfile
+ char csvoverwrite; // Overwrite CSV file if it already exists
+ FILE *csvfile; // File handle for CSV file
};
#endif