Quoting Chris Wilson (2020-03-24 20:44:55) > + dt = ktime_get(); > + rc0_power = energy_uJ(rc6); > res[0] = rc6_residency(rc6); > msleep(250); > res[1] = rc6_residency(rc6); > + rc0_power = div64_u64(energy_uJ(rc6) - rc0_power, > + ktime_to_ns(ktime_sub(ktime_get(), dt))); Did you forget this was in ns? You did! -Chris _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx