From: Jens Axboe on
On Fri, Apr 16 2010, Gui Jianfeng wrote:
> Include sched.h explicitly since sched_clock() is called.

Why is it using sched_clock(), btw? It would seem more appropriate to
use ktime.

--
Jens Axboe

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Gui Jianfeng on
Jens Axboe wrote:
> On Fri, Apr 16 2010, Gui Jianfeng wrote:
>> Include sched.h explicitly since sched_clock() is called.
>
> Why is it using sched_clock(), btw? It would seem more appropriate to
> use ktime.

I guess the reason is it's easy to use. :)
Divyesh, right?

Gui
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/