Yep. But the tsc is just an example of a clocksource, and doesn't have
any real bearing on what I'm saying.
Well, it doesn't need to be a constant clock if its modelling a changing
rate. And it doesn't need to be an exact model; it just needs to be
better than the current situation.
Specifically, how much cpu time a process has used. But if the CPU is
running at half speed (or 50% duty cycle), then claiming that the
process got the full amount of time is just an error.
Well, my whole argument is that sched_clock /should not/ be a constant
clock. And I'm not quite sure why you keep bringing up the tsc, because
it has no relevance.
J
-