Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jul 2009 22:39:18 +0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Andrew Brampton <brampton+freebsd@gmail.com>, freebsd-current@freebsd.org
Subject:   Re: dtrace users opinion solicited (timestamps)
Message-ID:  <d763ac660907100739x60bb96efwcc010a9db8077b01@mail.gmail.com>
In-Reply-To: <4A5733A3.20409@freebsd.org>
References:  <4A562960.3010801@freebsd.org> <d41814900907091502gbcd7e47h6982dbcf2e837963@mail.gmail.com> <4A5733A3.20409@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/7/10 Andriy Gapon <avg@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d763ac660907100739x60bb96efwcc010a9db8077b01>