Each ThreadContext has an ProfileCollection property in profile mode.
The methods of this class will be called by jruby.
profileEnter(long calledMethod)Begin profiling a new method, aggregating the current time diff in the previous method's profile slot.
| name | type | description |
|---|---|---|
| called_method | long | the serial number of the next method to profile |
profileExit(long callingMethod, long startTime)Fall back to previously profiled method after current method has returned.
| name | type | description |
|---|---|---|
| calling_method | long | the serial number of the next method to profile |
| start_time | long | the nano timestamp at which the given callingMethod was entered |