Changeset 93560 in webkit for trunk/Source/JavaScriptCore/bytecode/SamplingTool.cpp
- Timestamp:
- Aug 22, 2011, 4:41:20 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/SamplingTool.cpp
r89973 r93560 388 388 #endif 389 389 390 void AbstractSamplingCounter::dump()391 {392 #if ENABLE(SAMPLING_COUNTERS)393 if (s_abstractSamplingCounterChain != &s_abstractSamplingCounterChainEnd) {394 printf("\nSampling Counter Values:\n");395 for (AbstractSamplingCounter* currCounter = s_abstractSamplingCounterChain; (currCounter != &s_abstractSamplingCounterChainEnd); currCounter = currCounter->m_next)396 printf("\t%s\t: %lld\n", currCounter->m_name, currCounter->m_counter);397 printf("\n\n");398 }399 s_completed = true;400 #endif401 }402 403 AbstractSamplingCounter AbstractSamplingCounter::s_abstractSamplingCounterChainEnd;404 AbstractSamplingCounter* AbstractSamplingCounter::s_abstractSamplingCounterChain = &s_abstractSamplingCounterChainEnd;405 bool AbstractSamplingCounter::s_completed = false;406 407 390 } // namespace JSC
Note:
See TracChangeset
for help on using the changeset viewer.