Home
last modified time | relevance | path

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

/linux-6.6.21/tools/perf/scripts/python/
Dtask-analyzer.py262 self._last_start = task.time_in(time_unit)
263 self._last_finish = task.time_out(time_unit)
266 time_in = task.time_in(time_unit)
267 time_out = task.time_out(time_unit)
274 self._last_finish = task.time_out(time_unit)
275 self._last_start = task.time_in(time_unit)
416 runtimes.append(task.runtime(time_unit))
679 task.runtime(time_unit), out_in, out_out, in_in, in_out,
684 task.runtime(time_unit), out_in, c_row_reset) + "\n"
813 global time_unit, fd_task, fd_sum
[all …]
/linux-6.6.21/drivers/powercap/
Dintel_rapl_common.c932 rd->time_unit = 1000000 / (1 << value); in rapl_check_unit_core()
935 rd->rp->name, rd->name, rd->energy_unit, rd->time_unit, rd->power_unit); in rapl_check_unit_core()
960 rd->time_unit = 1000000 / (1 << value); in rapl_check_unit_atom()
963 rd->rp->name, rd->name, rd->energy_unit, rd->time_unit, rd->power_unit); in rapl_check_unit_atom()
1083 value = (1 << y) * (4 + f) * rd->time_unit / 4; in rapl_compute_time_window_core()
1085 if (value < rd->time_unit) in rapl_compute_time_window_core()
1088 do_div(value, rd->time_unit); in rapl_compute_time_window_core()
1112 return (value) ? value * rd->time_unit : rd->time_unit; in rapl_compute_time_window_atom()
1114 value = div64_u64(value, rd->time_unit); in rapl_compute_time_window_atom()
1147 rd->time_unit = 1000000 / (1 << value); in rapl_check_unit_tpmi()
[all …]
/linux-6.6.21/include/linux/
Dintel_rapl.h120 unsigned int time_unit; member
/linux-6.6.21/tools/power/x86/turbostat/
Dturbostat.c4576 unsigned int time_unit; in rapl_probe_intel() local
4731 time_unit = msr >> 16 & 0xF; in rapl_probe_intel()
4732 if (time_unit == 0) in rapl_probe_intel()
4733 time_unit = 0xA; in rapl_probe_intel()
4735 rapl_time_units = 1.0 / (1 << (time_unit)); in rapl_probe_intel()