Ignore:
Timestamp:
Aug 13, 2013, 5:51:25 PM (12 years ago)
Author:
[email protected]
Message:

[WTF] [JSC] Replace currentTime() with monotonicallyIncreasingTime() in all possible places
https://bugs.webkit.org/show_bug.cgi?id=119762

Patch by Arunprasad Rajkumar <[email protected]> on 2013-08-13
Reviewed by Geoffrey Garen.

Source/JavaScriptCore:

  • heap/Heap.cpp:

(JSC::Heap::Heap):
(JSC::Heap::markRoots):
(JSC::Heap::collect):

  • jsc.cpp:

(StopWatch::start):
(StopWatch::stop):

  • testRegExp.cpp:

(StopWatch::start):
(StopWatch::stop):

Source/WTF:

  • wtf/MainThread.cpp:

(WTF::dispatchFunctionsFromMainThread):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jsc.cpp

    r153218 r154032  
    172172void StopWatch::start()
    173173{
    174     m_startTime = currentTime();
     174    m_startTime = monotonicallyIncreasingTime();
    175175}
    176176
    177177void StopWatch::stop()
    178178{
    179     m_stopTime = currentTime();
     179    m_stopTime = monotonicallyIncreasingTime();
    180180}
    181181
Note: See TracChangeset for help on using the changeset viewer.