public class TabFormatter extends AbstractResultFormatter
ResultFormatter.InfoCategory| Constructor and Description |
|---|
TabFormatter()
Creates a new tab formatter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
printCompare(java.lang.String description,
RecorderElement individual,
boolean system)
Prints a comparison among the
individual element and the
total element defined in AbstractResultFormatter.setProcessData(de.uni_hildesheim.sse.monitoring.runtime.recordingStrategies.ProcessData). |
void |
printCurrentStateStatistics(RecorderElementMap elements,
RecorderElement programRecord,
RecorderElement overheadRecord)
Prints the current (aggregated) state.
|
void |
printCurrentStateStatisticsFooter(RecorderElementMap elements,
RecorderElement programRecord,
RecorderElement overheadRecord)
Prints a footer for the runtime statistics section.
|
void |
printHeadline()
Prints out the headline describing the data columns.
|
void |
printIndividual(java.lang.String description,
RecorderElement individual)
Prints out an individual recorder element.
|
void |
printInfo(ResultFormatter.InfoCategory info)
Prints some additional information categorizing the printout.
|
private void |
printMeasurementsStatistics(ProcessData.Measurements measurements)
Stores runtime statistical data for
measurements. |
private void |
printMeasurementsStatisticsFooter(java.lang.String description)
Prints the footer description line for a
ProcessData.Measurements object. |
void |
printProcessStatistics()
Prints out the min/avg/max statistics for the
system and the virtual machine.
|
private void |
printProcessStatistics(java.lang.String description,
ProcessData.Measurements measure)
Prints the process statistics for the given measurements instance.
|
private void |
printRecorderElementStatistics(RecorderElement elt)
Stores runtime statistical data for
elt. |
private void |
printRecorderElementStatisticsFooter(java.lang.String description)
Prints the footer description line for a
RecorderElement object. |
void |
printThreadData(java.lang.String description,
ThreadData thread)
Prints the information for an individual thread.
|
clear, configure, excludeId, getIoRead, getIoWrite, getJvmData, getOut, getSystemData, getTotal, isConfigured, print, print, print, print, print, printf, println, printNanoTime, printPercentage, printPercentage, printPercentage, printPercentageNanoPrefix, printSeparator, setProcessData, setSeparatorpublic void printThreadData(java.lang.String description,
ThreadData thread)
description - an additional description to be printedthread - the thread information to be printedprivate void printProcessStatistics(java.lang.String description,
ProcessData.Measurements measure)
description - a description for the output (to be augmented by
"min", "max" and "avg")measure - the instance to be printed (may be null)public void printProcessStatistics()
public void printIndividual(java.lang.String description,
RecorderElement individual)
description - a description of the element to be printed outindividual - the individual element to be emittedpublic void printHeadline()
public void printCompare(java.lang.String description,
RecorderElement individual,
boolean system)
individual element and the
total element defined in AbstractResultFormatter.setProcessData(de.uni_hildesheim.sse.monitoring.runtime.recordingStrategies.ProcessData).description - a description on the elements being comparedindividual - the individual element to be compared with the
total elementsystem - true if a comparison to system level
properties, false if a comparison to JVM level
properties should be donepublic void printInfo(ResultFormatter.InfoCategory info)
info - the category to be printedpublic void printCurrentStateStatistics(RecorderElementMap elements, RecorderElement programRecord, RecorderElement overheadRecord)
AbstractResultFormatter.setProcessData(ProcessData) before.elements - all (current) elementsprogramRecord - the program recordoverheadRecord - the overhead recordprivate void printMeasurementsStatistics(ProcessData.Measurements measurements)
measurements.measurements - the measurements object to be printedprivate void printMeasurementsStatisticsFooter(java.lang.String description)
ProcessData.Measurements object.description - short description on the related measurement objectsprivate void printRecorderElementStatistics(RecorderElement elt)
elt.elt - the recorder element object to be printedprivate void printRecorderElementStatisticsFooter(java.lang.String description)
RecorderElement object.description - short description on the related recorder element
objectspublic void printCurrentStateStatisticsFooter(RecorderElementMap elements, RecorderElement programRecord, RecorderElement overheadRecord)
AbstractResultFormatter.setProcessData(ProcessData) before.elements - all (current) elementsprogramRecord - the program recordoverheadRecord - the overhead record