Class ResponseTimeDecoration
java.lang.Object
kieker.tools.trace.analysis.filter.visualization.graph.AbstractVertexDecoration
kieker.visualization.trace.dependency.graph.ResponseTimeDecoration
Response time decoration for graph vertices. This decoration extracts response times from executions and keeps track of the minimal, maximal and average response
time.
- Since:
- 1.5
- Author:
- Holger Knoche
-
Constructor Summary
ConstructorsConstructorDescriptionResponseTimeDecoration(TimeUnit executionTimeunit, TimeUnit displayTimeunit) Creates a new response time decoration. -
Method Summary
Modifier and TypeMethodDescriptionCreates formatted output for this decoration.doubleReturns the average response time (in ms) registered by this decoration.longReturns the maximal response time (in ms) registered by this decoration.longReturns the minimal response time (in ms) registered by this decoration.longvoidregisterExecution(Execution execution) Registers a given execution for the decorated vertex.
-
Constructor Details
-
ResponseTimeDecoration
Creates a new response time decoration.- Parameters:
executionTimeunit- The time unit which tells how to interpret the times of the executions.displayTimeunit- The time unit used for printing the time value.
-
-
Method Details
-
registerExecution
Registers a given execution for the decorated vertex.- Parameters:
execution- The execution to register
-
getMinimalResponseTime
public long getMinimalResponseTime()Returns the minimal response time (in ms) registered by this decoration.- Returns:
- See above
-
getMaximalResponseTime
public long getMaximalResponseTime()Returns the maximal response time (in ms) registered by this decoration.- Returns:
- See above
-
getAverageResponseTime
public double getAverageResponseTime()Returns the average response time (in ms) registered by this decoration.- Returns:
- See above
-
getTotalResponseTime
public long getTotalResponseTime() -
createFormattedOutput
Description copied from class:AbstractVertexDecorationCreates formatted output for this decoration.- Specified by:
createFormattedOutputin classAbstractVertexDecoration- Returns:
- See above
-