Changeset 43619 in webkit for trunk/JavaScriptCore/bytecode/SamplingTool.cpp
- Timestamp:
- May 13, 2009, 2:10:02 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bytecode/SamplingTool.cpp
r43507 r43619 391 391 #endif 392 392 393 void AbstractSamplingCounter::dump() 394 { 395 #if ENABLE(SAMPLING_COUNTERS) 396 if (s_abstractSamplingCounterChain != &s_abstractSamplingCounterChainEnd) { 397 printf("\nSampling Counter Values:\n"); 398 for (AbstractSamplingCounter* currCounter = s_abstractSamplingCounterChain; (currCounter != &s_abstractSamplingCounterChainEnd); currCounter = currCounter->m_next) 399 printf("\t%s\t: %lld\n", currCounter->m_name, currCounter->m_counter); 400 printf("\n\n"); 401 } 402 s_completed = true; 403 #endif 404 } 405 406 AbstractSamplingCounter AbstractSamplingCounter::s_abstractSamplingCounterChainEnd; 407 AbstractSamplingCounter* AbstractSamplingCounter::s_abstractSamplingCounterChain = &s_abstractSamplingCounterChainEnd; 408 bool AbstractSamplingCounter::s_completed = false; 409 393 410 } // namespace JSC
Note:
See TracChangeset
for help on using the changeset viewer.