Package org.jruby.runtime.profile
Interface ProfileReporter
public interface ProfileReporter
The used
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.class- Author:
- Andre Kullmann
-
Method Summary
Modifier and TypeMethodDescriptionvoid
report
(ProfileCollection collection) At the end of eachRubyThread
or at jruby shutdown this method is called with theProfileCollection
associated with the current Thread.
-
Method Details
-
report
At the end of eachRubyThread
or at jruby shutdown this method is called with theProfileCollection
associated with the current Thread.- Parameters:
collection
- the profile information to report. print to file, system out, send ot a profile server, ...
-