Changeset 32760 in webkit for trunk/JavaScriptCore/profiler/FunctionCallProfile.h
- Timestamp:
- May 1, 2008, 9:32:32 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/profiler/FunctionCallProfile.h
r32693 r32760 32 32 #include <kjs/ustring.h> 33 33 #include <wtf/Deque.h> 34 #include <wtf/StrHash.h> 34 35 35 36 namespace KJS { … … 38 39 39 40 typedef Deque<FunctionCallProfile*>::const_iterator StackIterator; 41 typedef HashCountedSet<UString::Rep*> FunctionCallHashCount; 40 42 41 43 class FunctionCallProfile { … … 54 56 UString functionName() const { return m_functionName; } 55 57 double milliSecs() const { return m_timeSum; } 58 unsigned numberOfCalls() const { return m_numberOfCalls; } 56 59 57 60 void printDataInspectorStyle(int indentLevel) const; 58 double printDataSampleStyle(int indentLevel ) const;61 double printDataSampleStyle(int indentLevel, FunctionCallHashCount&) const; 59 62 60 63 private:
Note:
See TracChangeset
for help on using the changeset viewer.