public interface ResultFormatter
configure(java.io.PrintStream, de.uni_hildesheim.sse.monitoring.runtime.recordingStrategies.RecorderElement, boolean) and
setProcessData(ProcessData).| Modifier and Type | Interface and Description |
|---|---|
static class |
ResultFormatter.InfoCategory
Defines some information categories to be printed as additional
information.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears all basic data for reuse of this instance.
|
void |
configure(java.io.PrintStream out,
RecorderElement total,
boolean showPercentages)
Defines the basic data for output.
|
boolean |
isConfigured()
Returns if this instance was configured by calling
configure(PrintStream, RecorderElement, boolean). |
void |
printCompare(java.lang.String description,
RecorderElement individual,
boolean system)
Prints a comparison among the
individual element and the
total element defined in 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.
|
void |
printProcessStatistics()
Prints out the min/avg/max statistics for the
system and the virtual machine.
|
void |
printThreadData(java.lang.String description,
ThreadData thread)
Prints the information for an individual thread.
|
void |
setProcessData(ProcessData data)
Sets the current process data object for comparisons.
|
void configure(java.io.PrintStream out,
RecorderElement total,
boolean showPercentages)
out - the target output streamtotal - the recorder element representing the entire programshowPercentages - should percentages be printed or absolute values
insteadboolean isConfigured()
configure(PrintStream, RecorderElement, boolean).true if it was configured, false elsevoid setProcessData(ProcessData data)
data - the process data object with system and JVM measurements (may be null)void printThreadData(java.lang.String description,
ThreadData thread)
description - an additional description to be printedthread - the thread information to be printedvoid printProcessStatistics()
void printIndividual(java.lang.String description,
RecorderElement individual)
description - a description of the element to be printed outindividual - the individual element to be emittedvoid printHeadline()
void printCompare(java.lang.String description,
RecorderElement individual,
boolean system)
individual element and the
total element defined in 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 donevoid printInfo(ResultFormatter.InfoCategory info)
info - the category to be printedvoid clear()
void printCurrentStateStatistics(RecorderElementMap elements, RecorderElement programRecord, RecorderElement overheadRecord)
setProcessData(ProcessData) before.elements - all (current) elementsprogramRecord - the program recordoverheadRecord - the overhead recordvoid printCurrentStateStatisticsFooter(RecorderElementMap elements, RecorderElement programRecord, RecorderElement overheadRecord)
setProcessData(ProcessData) before.elements - all (current) elementsprogramRecord - the program recordoverheadRecord - the overhead record