Changeset 33947 in webkit for trunk/JavaScriptCore/profiler/Profile.cpp
- Timestamp:
- May 20, 2008, 4:32:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/profiler/Profile.cpp
r33941 r33947 73 73 } 74 74 75 void Profile::printDataInspectorStyle() const 75 #ifndef NDEBUG 76 void Profile::debugPrintData() const 76 77 { 77 78 printf("Call graph:\n"); 78 m_callTree-> printDataInspectorStyle(0);79 m_callTree->debugPrintData(0); 79 80 } 80 81 … … 86 87 } 87 88 88 void Profile:: printDataSampleStyle() const89 void Profile::debugPrintDataSampleStyle() const 89 90 { 90 91 typedef Vector<NameCountPair> NameCountPairVector; … … 92 93 FunctionCallHashCount countedFunctions; 93 94 printf("Call graph:\n"); 94 m_callTree-> printDataSampleStyle(0, countedFunctions);95 m_callTree->debugPrintDataSampleStyle(0, countedFunctions); 95 96 96 97 printf("\nTotal number in stack:\n"); … … 104 105 printf("\nSort by top of stack, same collapsed (when >= 5):\n"); 105 106 } 107 #endif 106 108 107 109 } // namespace KJS
Note:
See TracChangeset
for help on using the changeset viewer.