Home
last modified time | relevance | path

Searched refs:tmon_log (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/tools/thermal/tmon/
Dtmon.c50 FILE *tmon_log; variable
86 if (tmon_log) in tmon_cleanup()
87 fclose(tmon_log); in tmon_cleanup()
151 tmon_log = fopen(TMON_LOG_FILE, "w+"); in prepare_logging()
152 if (!tmon_log) { in prepare_logging()
159 fclose(tmon_log); in prepare_logging()
160 tmon_log = NULL; in prepare_logging()
167 fclose(tmon_log); in prepare_logging()
168 tmon_log = NULL; in prepare_logging()
174 fclose(tmon_log); in prepare_logging()
[all …]
Dsysfs.c502 if (tmon_log) { in update_thermal_data()
503 fprintf(tmon_log, "%lu ", ++samples); in update_thermal_data()
504 fprintf(tmon_log, "%3.1f ", p_param.t_target); in update_thermal_data()
512 if (tmon_log) in update_thermal_data()
513 fprintf(tmon_log, "%lu ", in update_thermal_data()
527 if (tmon_log) in update_thermal_data()
528 fprintf(tmon_log, "%lu ", val); in update_thermal_data()
531 if (tmon_log) { in update_thermal_data()
532 fprintf(tmon_log, "\n"); in update_thermal_data()
533 fflush(tmon_log); in update_thermal_data()
Dtmon.h148 extern FILE *tmon_log;