Changeset 55296 in webkit
- Timestamp:
- Feb 26, 2010 11:50:53 AM (14 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r55262 r55296 1 2010-02-26 Janne Koskinen <janne.p.koskinen@digia.com> 2 3 Reviewed by Simon Hausmann. 4 5 [Qt] Symbian specific getCPUTime implemetation 6 https://bugs.webkit.org/show_bug.cgi?id=34742 7 8 Default implementation doesn't work on Symbian devices. 9 This change adds a proper implementation by 10 asking thread execution time from the current thread. 11 12 * runtime/TimeoutChecker.cpp: 13 (JSC::getCPUTime): 14 1 15 2010-02-25 Alexey Proskuryakov <ap@apple.com> 2 16 -
trunk/JavaScriptCore/runtime/TimeoutChecker.cpp
r53926 r55296 85 85 86 86 return userTime.fileTimeAsLong / 10000 + kernelTime.fileTimeAsLong / 10000; 87 #elif OS(SYMBIAN) 88 RThread current; 89 TTimeIntervalMicroSeconds cpuTime; 90 91 TInt err = current.GetCpuTime(cpuTime); 92 ASSERT_WITH_MESSAGE(err == KErrNone, "GetCpuTime failed with %d", err); 93 return cpuTime.Int64() / 1000; 87 94 #elif PLATFORM(BREWMP) 88 95 // This function returns a continuously and linearly increasing millisecond
Note: See TracChangeset
for help on using the changeset viewer.