On Fri, 2006-12-15 at 14:27 -0800, [email protected] wrote:
> +
> +unsigned long long vmi_sched_clock(void)
> +{
> + return read_available_cycles();
> +}
> +
This sched_clock is likely broken if it's returning something other than
nanoseconds. It looks like cycles, but it's also getting piped through
an ops pointer so I'm not sure what's getting returned here.
Daniel
Daniel Walker wrote:
> On Fri, 2006-12-15 at 14:27 -0800, [email protected] wrote:
>
>> +
>> +unsigned long long vmi_sched_clock(void)
>> +{
>> + return read_available_cycles();
>> +}
>> +
>>
>
>
> This sched_clock is likely broken if it's returning something other than
> nanoseconds. It looks like cycles, but it's also getting piped through
> an ops pointer so I'm not sure what's getting returned here.
>
Thanks, I'll fix that.
Zach