dtrace users opinion solicited (timestamps)

Adrian Chadd adrian at freebsd.org
Fri Jul 10 14:39:19 UTC 2009


2009/7/10 Andriy Gapon <avg at freebsd.org>:
>> 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.

Pardon the stupid question, but how does Solaris deal with this?


Adrian


More information about the freebsd-current mailing list