Re: sched_clock() uses are broken
From: Mike Galbraith
Date: Wed May 03 2006 - 03:08:30 EST
On Wed, 2006-05-03 at 03:07 +1000, Nick Piggin wrote:
> Other problem is that some people didn't RTFM and have started trying to
> use it for precise accounting :(
Are you talking about me perchance? I don't really care about precision
_that_ much, though I certainly do want to tighten timeslice accounting.
Given that most people are going to end up using the pm_timer anyway, I
don't see the point of even having a sched_clock(). If it's jiffy
resolution, it's useless. If it's wildly inaccurate (as it is in the
SMP case, monotonicity issues aside) it's more than useless.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/