public interface ProfilingService
| Modifier and Type | Method and Description | 
|---|---|
| MethodEnhancer | newMethodEnhancer(Ruby runtime) | 
| ProfileCollection | newProfileCollection(ThreadContext context) | 
| ProfileReporter | newProfileReporter(ThreadContext context) | 
ProfileCollection newProfileCollection(ThreadContext context)
context - the ThreadContext the new created ProfileCollection belongs to.ProfileCollection instance, which will be associated with the given contextMethodEnhancer newMethodEnhancer(Ruby runtime)
runtime - The ruby instance the returned MethodEnhancer belongs toMethodEnhancer instance. will be used to add profiling information to all methods in the given runtime.ProfileReporter newProfileReporter(ThreadContext context)
context - the ThreadContext the returned ProfileReporter will belongs to.ProfileReporter which can be used to process the collected profile information.Copyright © 2001-2015 JRuby. All Rights Reserved.