Home
last modified time | relevance | path

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

/linux-5.19.10/tools/thermal/tmon/
Dsysfs.c482 int next_thermal_record = cur_thermal_record + 1; in update_thermal_data() local
492 if (next_thermal_record >= NR_THERMAL_RECORDS) in update_thermal_data()
493 next_thermal_record = 0; in update_thermal_data()
494 gettimeofday(&trec[next_thermal_record].tv, NULL); in update_thermal_data()
504 &trec[next_thermal_record].temp[i]); in update_thermal_data()
507 trec[next_thermal_record].temp[i] / 1000); in update_thermal_data()
509 cur_thermal_record = next_thermal_record; in update_thermal_data()