[Webkit-unassigned] [Bug 119761] Replace currentTime() with monotonicallyIncreasingTime() in all possible places

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 13 12:16:56 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119761





--- Comment #4 from Ryosuke Niwa <rniwa at webkit.org>  2013-08-13 12:16:30 PST ---
(In reply to comment #2)
> (In reply to comment #1)
> > What is the goal of this change?  Why do we want to do this?
> 
> Actually some platforms(mostly embedded systems like TV/STB) doesn't have battery powered reliable clock source. Wall Clock time is obtained via time sources like NTP(it may have some latency). So I feel use currentTime() only on the places which really needs wall clock time(like jsDateTime()), remaining places monotonicallyIncreasingTime() is good.

I'm still not sure replacing calls to currentTime() by monotonicallyIncreasingTime() everywhere is such a great idea. Can't those platforms emulate currentTime?  Presumably, this is just an optimization, right?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list