Re: Does LTT code exclusively use hrtimers ?

Mathieu Desnoyers <[email protected]> Tue, 4 Sep 2007 07:37:43 -0400
Newsgroups gmane.linux.kernel.tracing
Message-ID <20070904113743.GD14618@Krystal>
* Godbole, Lalita ([email protected]) wrote:
> 
> Does the lttng code (for linux kernel 2.6.20) exclusively use hrtimers
> api ? Or can this be optionally configured?
> 

Nope, we don't use it at all. We use the cycle counter directly, or the
most precise clock available.

We fall back on a self-contained logical clock if needed. It gives use
the event order, and then the kernel_timer_update_time happening at the
timer interrupt can be used to have an idea of the time passing.

Mathieu

> Thanks
> Lalita Godbole
> 
> 

> _______________________________________________
> Ltt-dev mailing list
> [email protected]
> http://listserv.shafik.org/mailman/listinfo/ltt-dev


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