Changeset 199754 in webkit for trunk/Source/JavaScriptCore/jsc.cpp
- Timestamp:
- Apr 19, 2016, 7:24:53 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/jsc.cpp
r199647 r199754 661 661 bool m_profile { false }; 662 662 String m_profilerOutput; 663 bool m_dumpSamplingProfilerData { false }; 663 664 664 665 void parseArguments(int, char**); … … 2167 2168 continue; 2168 2169 } 2170 if (!strcmp(arg, "--reportSamplingProfilerData")) { 2171 JSC::Options::useSamplingProfiler() = true; 2172 JSC::Options::collectSamplingProfilerDataForJSCShell() = true; 2173 m_dumpSamplingProfilerData = true; 2174 continue; 2175 } 2169 2176 2170 2177 // See if the -- option is a JSC VM option. … … 2267 2274 } 2268 2275 2276 if (options.m_dumpSamplingProfilerData) { 2277 vm->samplingProfiler()->reportTopFunctions(); 2278 vm->samplingProfiler()->reportTopBytecodes(); 2279 } 2280 2269 2281 printSuperSamplerState(); 2270 2282
Note:
See TracChangeset
for help on using the changeset viewer.