[Webkit-unassigned] [Bug 29148] New: replace platform time code with WTF::currentTime()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 10 13:54:02 PDT 2009


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

           Summary: replace platform time code with WTF::currentTime()
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yong.li at torchmobile.com


We have WTF::currentTime() now. We should use it to replace those duplicate
platform-dependent code.

1. In TimeoutChecker.cpp: getCPUTime currently returns system time except for
PLATFORM(DARWIN) and PLATFORM(WIN_OS) (they can get actual thread time)

2. jsc.cpp: a lot of time related code can be simplified with currentTime()

Patch is coming

-- 
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