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