Re: [PATCH 06/23 -v8] handle accurate time keeping over long delays

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: John Stultz <johnstul@...>
Cc: Steven Rostedt <rostedt@...>, LKML <linux-kernel@...>, Ingo Molnar <mingo@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Peter Zijlstra <a.p.zijlstra@...>, Christoph Hellwig <hch@...>, Gregory Haskins <ghaskins@...>, Arnaldo Carvalho de Melo <acme@...>, Thomas Gleixner <tglx@...>, Tim Bird <tim.bird@...>, Sam Ravnborg <sam@...>, Frank Ch. Eigler <fche@...>, Jan Kiszka <jan.kiszka@...>, Arjan van de Ven <arjan@...>, Steven Rostedt <srostedt@...>
Date: Friday, February 1, 2008 - 1:02 pm

* John Stultz (johnstul@us.ibm.com) wrote:

Yup, exactly.


I agree, that could apply on top of the monotonic cycles patch. It's
just a different way to see it : dealing with wrapping TSC bits,
returning the LSBs given by the hardware, rather than simply
accumulating time. This is what the patch I sent earlier (which I use in
LTTng) does. I currently expects 32 LSBs to be given by the hardware,
but it would be trivial to extend it to support any given number of
hardware LSBs.

Mathieu


-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 06/23 -v8] handle accurate time keeping over long..., Mathieu Desnoyers, (Thu Jan 31, 8:10 am)
Re: [PATCH 06/23 -v8] handle accurate time keeping over long..., Mathieu Desnoyers, (Fri Feb 1, 1:02 pm)
Re: [PATCH 06/23 -v8] handle accurate time keeping over long..., Mathieu Desnoyers, (Sat Feb 2, 12:30 pm)