org.jruby.runtime.profile
Interface IProfileData

All Known Implementing Classes:
ProfileData

public interface IProfileData


Method Summary
 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.
 

Method Detail

profileEnter

int profileEnter(int nextMethod)
Begin profiling a new method, aggregating the current time diff in the previous method's profile slot.

Parameters:
nextMethod - the serial number of the next method to profile
Returns:
the serial number of the previous method being profiled

profileExit

int profileExit(int nextMethod,
                long startTime)
Fall back to previously profiled method after current method has returned.

Parameters:
nextMethod - the serial number of the next method to profile
startTime - the nanotime when this invocation began
Returns:
the serial number of the previous method being profiled

clear

void clear()

getResults

Invocation getResults()


Copyright © 2002-2009 JRuby Team. All Rights Reserved.