public interface ProfileCollection
ThreadContext has an ProfileCollection property in profile mode.
The methods of this class will be called by jruby.| Modifier and Type | Method and Description |
|---|---|
void |
profileEnter(long calledMethod)
Begin profiling a new method, aggregating the current time diff in the previous
method's profile slot.
|
void |
profileExit(long callingMethod,
long startTime)
Fall back to previously profiled method after current method has returned.
|
void profileEnter(long calledMethod)
calledMethod - the serial number of the next method to profilevoid profileExit(long callingMethod,
long startTime)
callingMethod - the serial number of the next method to profilestartTime - the nano timestamp at which the given callingMethod was enteredCopyright © 2001-2015 JRuby. All Rights Reserved.