public interface IProfileData
Modifier and Type | Method and Description |
---|---|
void |
clear() |
Invocation |
getResults() |
int |
profileEnter(int nextMethod)
Begin profiling a new method, aggregating the current time diff in the previous
method's profile slot.
|
int |
profileExit(int nextMethod,
long startTime)
Fall back to previously profiled method after current method has returned.
|
int profileEnter(int nextMethod)
nextMethod
- the serial number of the next method to profileint profileExit(int nextMethod, long startTime)
nextMethod
- the serial number of the next method to profilestartTime
- the nanotime when this invocation beganvoid clear()
Invocation getResults()
Copyright © 2002-2009 JRuby Team. All Rights Reserved.