org.jruby.runtime.profile
Class AbstractProfilePrinter

java.lang.Object
  extended by org.jruby.runtime.profile.AbstractProfilePrinter
Direct Known Subclasses:
FlatProfilePrinter, GraphProfilePrinter

public class AbstractProfilePrinter
extends java.lang.Object


Constructor Summary
AbstractProfilePrinter()
           
 
Method Summary
static java.lang.String getMethodName(int serial)
           
 boolean isProfilerInvocation(Invocation inv)
           
 boolean isThisProfilerInvocation(int serial)
           
protected  java.util.Map<java.lang.Integer,MethodData> methodData(Invocation top)
           
protected  void methodData1(java.util.Map<java.lang.Integer,MethodData> methods, Invocation inv)
           
 java.lang.String methodName(int serial)
           
protected static java.lang.String moduleHashMethod(RubyModule module, java.lang.String name)
           
protected  java.lang.String nanoString(long nanoTime)
           
protected  void pad(java.io.PrintStream out, int size, java.lang.String body)
           
protected  void pad(java.io.PrintStream out, int size, java.lang.String body, boolean front)
           
 void printProfile(java.io.PrintStream out)
           
 void printProfile(RubyIO out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractProfilePrinter

public AbstractProfilePrinter()
Method Detail

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.