public class BuiltinProfilingService extends Object implements ProfilingService
ProfilingService will be used for all profiling methods
 which are shipped with jruby.| Constructor and Description | 
|---|
| BuiltinProfilingService() | 
| Modifier and Type | Method and Description | 
|---|---|
| org.jruby.runtime.profile.builtin.BuiltinProfilingService.DefaultMethodEnhancer | newMethodEnhancer(Ruby runtime) | 
| ProfileData | newProfileCollection(ThreadContext context) | 
| org.jruby.runtime.profile.builtin.BuiltinProfilingService.DefaultProfileReporter | newProfileReporter(ThreadContext context) | 
public ProfileData newProfileCollection(ThreadContext context)
newProfileCollection in interface ProfilingServicecontext - the ThreadContext the new created ProfileCollection belongs to.ProfileCollection instance, which will be associated with the given contextpublic org.jruby.runtime.profile.builtin.BuiltinProfilingService.DefaultMethodEnhancer newMethodEnhancer(Ruby runtime)
newMethodEnhancer in interface ProfilingServiceruntime - The ruby instance the returned MethodEnhancer belongs toMethodEnhancer instance. will be used to add profiling information to all methods in the given runtime.public org.jruby.runtime.profile.builtin.BuiltinProfilingService.DefaultProfileReporter newProfileReporter(ThreadContext context)
newProfileReporter in interface ProfilingServicecontext - 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.