Bug 61456 - Implements monotonic time in WebKit
Summary: Implements monotonic time in WebKit
Status: RESOLVED DUPLICATE of bug 60936
Alias: None
Product: WebKit
Classification: Unclassified
Component: JavaScriptCore (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-25 11:51 PDT by Igor Trindade Oliveira
Modified: 2011-05-25 23:26 PDT (History)
3 users (show)

See Also:


Attachments
Patch (4.28 KB, patch)
2011-05-25 11:59 PDT, Igor Trindade Oliveira
kling: review-
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Igor Trindade Oliveira 2011-05-25 11:51:40 PDT
Currently WebKit measures time using the system wallclock time. Implementations that is purely based on the wallclock is prone to large jumps forwards and backwards as the wallclock is adjusted. We will use the monotonic time in animations, Navigation Timining, Thread timers and so on.
Comment 1 Igor Trindade Oliveira 2011-05-25 11:59:03 PDT
Created attachment 94825 [details]
Patch

Proposed patch.
Comment 2 Andreas Kling 2011-05-25 14:22:06 PDT
Comment on attachment 94825 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=94825&action=review

This patch effectively adds dead code, so r-.
How do you plan to use this new functionality?

> Source/JavaScriptCore/JavaScriptCore.pri:58
> +unix {
> +    LIBS += -lrt
> +}

Do other *nix ports already link with librt?
Comment 3 Alexey Proskuryakov 2011-05-25 23:26:30 PDT

*** This bug has been marked as a duplicate of bug 60936 ***