Re: DOMHiResTimeStamp

On 02/07/2013 08:15 PM, Harald Alvestrand wrote:
> On 02/07/2013 05:50 PM, Dominique Hazael-Massieux wrote:
>> As discussed during the meeting on the way to define stats reports,
>> there is a spec that defines a high-resolution timestamp:
>>  (and it's a recommendation since December!
>> )
>> Dom
> Hm - I'm a bit confused about how to convert NTP timestamps into this 
> format:
> The|DOMHighResTimeStamp| 
> <>type is used to 
> store a time value measured relative to the|navigationStart| 
> <>attribute 
> of the|PerformanceTiming| 
> <>interface[NavigationTiming] 
> <>, the start of 
> navigation of the document, or a time value that represents a duration 
> between two|DOMHighResTimeStamps| 
> <>.
> I think we'll have to store the base somewhere and make explicit 
> reference to it; Performancetiming.navigationStart doesn't seem 
> terribly relevant.
> Having the base be different for different objects solves the "NTP 
> clock skew" problem (but does raise a few other issues).
(just for added confusion, hr-time defines navigationStart as an 
unsigned long long, and does not define what its unit or epoch time is.)

Received on Thursday, 7 February 2013 19:33:56 UTC