Re: [patch 17/17] Add a sched_clock paravirt_op

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Andrew Morton <akpm@...>, <virtualization@...>, lkml <linux-kernel@...>, Zachary Amsden <zach@...>, Dan Hecht <dhecht@...>, john stultz <johnstul@...>
Date: Monday, April 2, 2007 - 2:09 am

On Monday 02 April 2007 07:57, Jeremy Fitzhardinge wrote:

I think it would be much cleaner if you didn't implement your own sched_clock,
but you adjust ns_base/last_tsc to account for your lost cycles.
This could be done cleanly by adding a new function to sched-clock.c
Possibly such a function could be used by other parts of the kernel
in the future too.

-Andi
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 17/17] Add a sched_clock paravirt_op, Jeremy Fitzhardinge, (Mon Apr 2, 1:57 am)
Re: [patch 17/17] Add a sched_clock paravirt_op, Andi Kleen, (Mon Apr 2, 2:09 am)
Re: [patch 17/17] Add a sched_clock paravirt_op, Jeremy Fitzhardinge, (Mon Apr 2, 2:47 am)
Re: [patch 17/17] Add a sched_clock paravirt_op, Andi Kleen, (Mon Apr 2, 2:50 am)
Re: [patch 17/17] Add a sched_clock paravirt_op, Jeremy Fitzhardinge, (Mon Apr 2, 3:06 am)