Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/tools/thermal/tmon/
H A 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()
/kernel/linux/linux-6.6/tools/thermal/tmon/
H A 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()

Completed in 2 milliseconds