Re: [PATCH] cpufreq: stats: Switch to ktime and msec instead of jiffies and usertime

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 10-11-20, 11:36, Lukasz Luba wrote:
> I am not sure if these ktime_get() are not too heavy in the code path
> visited by the scheduler.

Ahh Right. I missed that.

> How about local_clock()?
> It's used in ./drivers/cpuidle/cpuidle.c to do similar accounting.

Will have a look.

-- 
viresh



[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux