Top Fields Constructors Methods
org.jruby.runtime.profile.builtin

public Class HtmlProfilePrinter

extends ProfilePrinter
Class Inheritance
Imports
org.jruby.util.collections.IntHashMap, java.io.PrintStream, java.util.Arrays, .Comparator

Field Summary

Modifier and TypeField and Description
pack-priv final String
private static final long
Inherited from org.jruby.runtime.profile.builtin.ProfilePrinter:
PROFILER_PROFILE_METHODPROFILER_PROFILED_CODE_METHOD

Constructor Summary

AccessConstructor and Description
public
pack-priv
HtmlProfilePrinter(ProfileData profileData, Invocation topInvocation)

Method Summary

Modifier and TypeMethod and Description
private String
linkToMethod(String callerName)

private String
methodAnchor(String callerName)

private Integer[]
public void
public void
private void
printInvocationFromParent(PrintStream out, MethodData data, int parentSerial, String callerName, InvocationSet invs)

private void
printInvocationOfChild(PrintStream out, IntHashMap<MethodData> methods, MethodData data, int childSerial, String callerName, InvocationSet invs)

public void
private void
Inherited from org.jruby.runtime.profile.builtin.ProfilePrinter:
getProfileDatagetThreadNamegetTopInvocationisProfilerInvocationisThisProfilerInvocationmethodDatamethodNamemethodNamenanoStringnewPrinternewPrinterpadpadprintProfileprintProfile

Field Detail

LIMITback to summary
private static final long LIMIT

Constructor Detail

HtmlProfilePrinterback to summary
public HtmlProfilePrinter(ProfileData profileData)
HtmlProfilePrinterback to summary
pack-priv HtmlProfilePrinter(ProfileData profileData, Invocation topInvocation)

Method Detail

linkToMethodback to summary
private String linkToMethod(String callerName)
methodAnchorback to summary
private String methodAnchor(String callerName)
parentSerialsback to summary
private Integer[] parentSerials(final MethodData data)
printFooterback to summary
public void printFooter(PrintStream out)

Overrides org.jruby.runtime.profile.builtin.ProfilePrinter.printFooter.

printHeaderback to summary
public void printHeader(PrintStream out)

Overrides org.jruby.runtime.profile.builtin.ProfilePrinter.printHeader.

printInvocationFromParentback to summary
private void printInvocationFromParent(PrintStream out, MethodData data, int parentSerial, String callerName, InvocationSet invs)
printInvocationOfChildback to summary
private void printInvocationOfChild(PrintStream out, IntHashMap<MethodData> methods, MethodData data, int childSerial, String callerName, InvocationSet invs)
printProfileback to summary
public void printProfile(PrintStream out, boolean first)

Implements abstract org.jruby.runtime.profile.builtin.ProfilePrinter.printProfile.

Annotations
@Override
printTimingCellsback to summary
private void printTimingCells(PrintStream out, InvocationSet invs)