Changeset 33464 in webkit for trunk/JavaScriptCore/profiler/FunctionCallProfile.cpp
- Timestamp:
- May 14, 2008, 4:02:57 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/profiler/FunctionCallProfile.cpp
r33388 r33464 99 99 } 100 100 101 double FunctionCallProfile::selfTime() const 102 { 103 double sumChildrenTime = 0.0; 104 105 for (StackIterator currentChild = m_children.begin(); currentChild != m_children.end(); ++currentChild) 106 sumChildrenTime += (*currentChild)->totalTime(); 107 108 ASSERT(sumChildrenTime <= m_timeSum); 109 110 return m_timeSum - sumChildrenTime; 111 } 112 101 113 void FunctionCallProfile::printDataInspectorStyle(int indentLevel) const 102 114 {
Note:
See TracChangeset
for help on using the changeset viewer.