Searched refs:time_unit (Results 1 – 3 of 3) sorted by relevance
741 rp->time_unit = 1000000 / (1 << value); in rapl_check_unit_core()744 rp->name, rp->energy_unit, rp->time_unit, rp->power_unit); in rapl_check_unit_core()769 rp->time_unit = 1000000 / (1 << value); in rapl_check_unit_atom()772 rp->name, rp->energy_unit, rp->time_unit, rp->power_unit); in rapl_check_unit_atom()886 value = (1 << y) * (4 + f) * rp->time_unit / 4; in rapl_compute_time_window_core()888 do_div(value, rp->time_unit); in rapl_compute_time_window_core()904 return (value) ? value *= rp->time_unit : rp->time_unit; in rapl_compute_time_window_atom()906 value = div64_u64(value, rp->time_unit); in rapl_compute_time_window_atom()
134 unsigned int time_unit; member
3864 unsigned int time_unit; in rapl_probe_intel() local3985 time_unit = msr >> 16 & 0xF; in rapl_probe_intel()3986 if (time_unit == 0) in rapl_probe_intel()3987 time_unit = 0xA; in rapl_probe_intel()3989 rapl_time_units = 1.0 / (1 << (time_unit)); in rapl_probe_intel()