WD: High Resolution Time Level 2

High Resolution Time Level 2

http://www.w3.org/TR/2016/WD-hr-time-2-20160203/

Abstract


This specification defines an API that provides the current time in sub-millisecond resolution and such that it is not subject to system clock skew or adjustments.

Status of the Document


This section describes the status of this document at the time of its publication. Other documents may supersede this document. A list of current W3C publications and the latest revision of this technical report can be found in the W3C technical reports index at http://www.w3.org/TR/.

This specification is ready for wide review.

High Resolution Time Level 2 replaces the first version of High Resolution Time [HR-TIME] and includes:Defines a precise definition of time origin for the purpose of all performance timeline related specifications; Provides the base definition for the Performance interface, including support for the Performance.now method in Web Workers [WORKERS]; Introduces the method Performance.translateTime to compare times between different time origins; To mitigate cache attacks, the recommended minimum resolution of the Performance interface should be set to 5 microseconds.

The method Performance.translateTime is marked as "at risk" to the purpose of moving High Resolution Time 2 to W3C Recommendation due to its lack of implementation experience. It is expected to be deferred until the next release.

This document was published by the Web Performance Working Group as a Working Draft. This document is intended to become a W3C Recommendation. If you wish to make comments regarding this document, please send them to public-web-perf@w3.org (subscribe, archives) with [hr-time] at the start of your email's subject. All comments are welcome.

Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite this document as other than work in progress.

This document was produced by a group operating under the 5 February 2004 W3C Patent Policy. W3C maintains a public list of any patent disclosures made in connection with the deliverables of the group; that page also includes instructions for disclosing a patent. An individual who has actual knowledge of a patent which the individual believes contains Essential Claim(s) must disclose the information in accordance with section 6 of the W3C Patent Policy.

This document is governed by the 1 September 2015 W3C Process Document.

Received on Wednesday, 3 February 2016 19:16:11 UTC