Searched refs:time_unit (Results 1 - 7 of 7) sorted by last modified time

/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c6232 unsigned int time_unit; local
6262 time_unit = msr >> 16 & 0xF;
6263 if (time_unit == 0)
6264 time_unit = 0xA;
6266 rapl_time_units = 1.0 / (1 << (time_unit));
/linux-master/fs/bcachefs/
H A Dutil.c342 const struct time_unit *u = bch2_pick_time_units(ns);
349 const struct time_unit *u = bch2_pick_time_units(ns);
453 const struct time_unit *u =
H A Dtime_stats.c13 static const struct time_unit time_units[] = {
26 const struct time_unit *bch2_pick_time_units(u64 ns)
28 const struct time_unit *u;
H A Dtime_stats.h33 struct time_unit { struct
41 const struct time_unit *bch2_pick_time_units(u64 ns);
/linux-master/include/linux/
H A Dintel_rapl.h120 unsigned int time_unit; member in struct:rapl_domain
/linux-master/drivers/powercap/
H A Dintel_rapl_common.c940 rd->time_unit = 1000000 / (1 << value);
943 rd->rp->name, rd->name, rd->energy_unit, rd->time_unit, rd->power_unit);
968 rd->time_unit = 1000000 / (1 << value);
971 rd->rp->name, rd->name, rd->energy_unit, rd->time_unit, rd->power_unit);
1091 value = (1 << y) * (4 + f) * rd->time_unit / 4;
1093 if (value < rd->time_unit)
1096 do_div(value, rd->time_unit);
1116 * Atom time unit encoding is straight forward val * time_unit,
1117 * where time_unit is default to 1 sec. Never 0.
1120 return (value) ? value * rd->time_unit
[all...]
/linux-master/tools/perf/scripts/python/
H A 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_tas
[all...]

Completed in 191 milliseconds