Bug 61456

Summary: Implements monotonic time in WebKit
Product: WebKit Reporter: Igor Trindade Oliveira <igor.oliveira>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, darin, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch kling: review-

Igor Trindade Oliveira
Reported 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.
Attachments
Patch (4.28 KB, patch)
2011-05-25 11:59 PDT, Igor Trindade Oliveira
kling: review-
Igor Trindade Oliveira
Comment 1 2011-05-25 11:59:03 PDT
Created attachment 94825 [details] Patch Proposed patch.
Andreas Kling
Comment 2 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?
Alexey Proskuryakov
Comment 3 2011-05-25 23:26:30 PDT
*** This bug has been marked as a duplicate of bug 60936 ***
Note You need to log in before you can comment on or make changes to this bug.