public interface ProfileReporter
ProfilingService
will create an instance of this class
at the end of each RubyThread
or at jruby shutdown the report(ProfileCollection)
is called with the ProfileCollection
associated with the current Thread.
Add your implementation of ProfilingService
to the classpath and add the command line --profile.service my.impl.classModifier and Type | Method and Description |
---|---|
void |
report(ProfileCollection collection)
At the end of each
RubyThread or at jruby shutdown this method
is called with the ProfileCollection associated with the current Thread. |
void report(ProfileCollection collection)
RubyThread
or at jruby shutdown this method
is called with the ProfileCollection
associated with the current Thread.collection
- the profile information to report. print to file, system out, send ot a profile server, ...Copyright © 2001-2015 JRuby. All Rights Reserved.