Re: Unit of cpuinfo.transition_latency

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

 



On Tue, Apr 2, 2013 at 8:37 PM, Guru Prasad <gurupras@xxxxxxxxxxx> wrote:
> I've been working with kernel versions 2.6.35.8 and 3.3.0 particularly
> with the ARM architecture and I'm quite confused with the units of
> transition_latency..
>
> mach-integrator/cpu.c:    policy->cpuinfo.transition_latency =
> 1000000; /* 1 ms, assumed */
> mach-pxa/cpufreq-pxa2xx.c:    policy->cpuinfo.transition_latency =
> 1000; /* FIXME: 1 ms, assumed */
> mach-pxa/cpufreq-pxa3xx.c:    policy->cpuinfo.transition_latency =
> 1000; /* FIXME: 1 ms, assumed */
>
> These seem to be contradicting each other..
> The first line seems to suggest that the base unit is nanoseconds..
> The second and third lines suggest that the unit is microseconds..
>
> Could someone please shed some light on this?

include/linux/cpufreq.h

 * Maximum transition latency is in nanoseconds
--
To unsubscribe from this list: send the line "unsubscribe cpufreq" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel Devel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Forum]     [Linux SCSI]

  Powered by Linux