Re: dtrace users opinion solicited (timestamps)

From: Andriy Gapon <avg_at_freebsd.org>
Date: Fri, 10 Jul 2009 15:27:15 +0300
on 10/07/2009 01:02 Andrew Brampton said the following:
> According to wikipedia newer Intel processors have a constant rate TSC
> whos freq does not change. If this features is available on most
> processors today, then I am happy to stick with option 1.
> 
> Another problem with this is that on a multicore machine each core may
> have different TSC values. Has anyone thought how to address this
> issue? Could we calculate the offset of each core from core0, and then
> ensure the offset is applied to the tsc value when it is needed?

Yes. The actual code accounts for inter-CPU/core TSC skew.

-- 
Andriy Gapon
Received on Fri Jul 10 2009 - 10:27:20 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC