org.jruby.runtime.profile
Class AbstractProfilePrinter
java.lang.Object
org.jruby.runtime.profile.AbstractProfilePrinter
- Direct Known Subclasses:
- FlatProfilePrinter, GraphProfilePrinter
public class AbstractProfilePrinter
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProfilePrinter
public AbstractProfilePrinter()
printProfile
public void printProfile(java.io.PrintStream out)
printProfile
public void printProfile(RubyIO out)
pad
protected void pad(java.io.PrintStream out,
int size,
java.lang.String body)
pad
protected void pad(java.io.PrintStream out,
int size,
java.lang.String body,
boolean front)
nanoString
protected java.lang.String nanoString(long nanoTime)
isProfilerInvocation
public boolean isProfilerInvocation(Invocation inv)
isThisProfilerInvocation
public boolean isThisProfilerInvocation(int serial)
methodName
public java.lang.String methodName(int serial)
getMethodName
public static java.lang.String getMethodName(int serial)
moduleHashMethod
protected static java.lang.String moduleHashMethod(RubyModule module,
java.lang.String name)
methodData
protected java.util.Map<java.lang.Integer,MethodData> methodData(Invocation top)
methodData1
protected void methodData1(java.util.Map<java.lang.Integer,MethodData> methods,
Invocation inv)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.