Changeset 39329 in webkit for trunk/JavaScriptCore/interpreter/Interpreter.cpp
- Timestamp:
- Dec 15, 2008, 11:05:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r39265 r39329 1138 1138 1139 1139 // Get thread information 1140 thread_info(mach_thread_self(), THREAD_BASIC_INFO, reinterpret_cast<thread_info_t>(&info), &infoCount); 1140 mach_port_t threadPort = mach_thread_self(); 1141 thread_info(threadPort, THREAD_BASIC_INFO, reinterpret_cast<thread_info_t>(&info), &infoCount); 1142 mach_port_deallocate(mach_task_self(), threadPort); 1141 1143 1142 1144 unsigned time = info.user_time.seconds * 1000 + info.user_time.microseconds / 1000;
Note:
See TracChangeset
for help on using the changeset viewer.