[igt-dev] [PATCH i-g-t 05/13] lib: Add GPU power measurement
Katarzyna Dec
katarzyna.dec at intel.com
Tue Feb 5 13:44:00 UTC 2019
On Tue, Feb 05, 2019 at 12:31:55PM +0000, Chris Wilson wrote:
> Quoting Katarzyna Dec (2019-02-05 12:27:57)
> > On Mon, Feb 04, 2019 at 08:36:06AM +0000, Chris Wilson wrote:
> > > + power->scale = rapl_gpu_power_scale();
> > > + if (isnan(power->scale) || !power->scale) {
> > > + close(power->fd);
> > > + goto err;
> > > + }
> > > + power->scale *= 1e9;
> > Where this scale value is coming from? I looked at this parameter on my desktop
> > and it is e-10.
>
> The timestamps are in nanoseconds. Pick your poison.
> -Chris
Can I have donuts for poison? Just kidding :)
Reviewed-by: Katarzyna Dec <katarzyna.dec at intel.com>
Kasia :)
More information about the igt-dev
mailing list