Searched refs:tsc_last (Results 1 – 1 of 1) sorted by relevance
462 static u64 msr_last, tsc_last; in powerclamp_adjust_controls() local471 if (!msr_last || !tsc_last) in powerclamp_adjust_controls()473 else if (tsc_now-tsc_last) { in powerclamp_adjust_controls()475 do_div(val64, (tsc_now-tsc_last)); in powerclamp_adjust_controls()481 tsc_last = tsc_now; in powerclamp_adjust_controls()530 static u64 tsc_last; in poll_pkg_cstate() local540 if (!msr_last || !tsc_last) in poll_pkg_cstate()543 if (tsc_now - tsc_last) { in poll_pkg_cstate()545 do_div(val64, (tsc_now - tsc_last)); in poll_pkg_cstate()552 tsc_last = tsc_now; in poll_pkg_cstate()