Changeset 226295 in webkit for trunk/Source/JavaScriptCore/runtime/SamplingProfiler.h
- Timestamp:
- Dec 26, 2017, 4:33:11 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/SamplingProfiler.h
r219653 r226295 163 163 void visit(SlotVisitor&); 164 164 Lock& getLock() { return m_lock; } 165 void setTimingInterval( std::chrono::microseconds interval) { m_timingInterval = interval; }165 void setTimingInterval(Seconds interval) { m_timingInterval = interval; } 166 166 JS_EXPORT_PRIVATE void start(); 167 167 void start(const AbstractLocker&); … … 186 186 void createThreadIfNecessary(const AbstractLocker&); 187 187 void timerLoop(); 188 void takeSample(const AbstractLocker&, std::chrono::microseconds& stackTraceProcessingTime);188 void takeSample(const AbstractLocker&, Seconds& stackTraceProcessingTime); 189 189 190 190 VM& m_vm; … … 193 193 Vector<StackTrace> m_stackTraces; 194 194 Vector<UnprocessedStackTrace> m_unprocessedStackTraces; 195 std::chrono::microseconds m_timingInterval;195 Seconds m_timingInterval; 196 196 double m_lastTime; 197 197 Lock m_lock;
Note:
See TracChangeset
for help on using the changeset viewer.