public class MeasurementEventParser extends Object
Constructor and Description |
---|
MeasurementEventParser(Iterable<MeasurementEvent> events)
Creates a parser to parse
events . |
MeasurementEventParser(MeasurementEvent... events)
Creates a parser to parse
events . |
Modifier and Type | Method and Description |
---|---|
Set<ParameterChangeMeasurementResult> |
getMeasurementResultsFor(ExternalCallParameter externalCallParameter)
Note: this method is out of our projects scope and not yet implemented.
|
Set<ResourceDemandMeasurementResult> |
getMeasurementResultsFor(ResourceDemandingInternalAction resourceDemandingInternalAction)
Gets all results that could be parsed from the input events for
rdia . |
Set<BranchDecisionMeasurementResult> |
getMeasurementResultsFor(SeffBranch branch)
Gets all results that could be parsed from the input events for
branch . |
Set<LoopRepetitionCountMeasurementResult> |
getMeasurementResultsFor(SeffLoop loop)
Gets all results that could be parsed from the input events for
loop . |
public MeasurementEventParser(MeasurementEvent... events)
events
. The events must be provided in
chronological order, starting with the event that occurred first.events
- The events to be parsed. Must not be null
and all contained
events must not be null
.public MeasurementEventParser(Iterable<MeasurementEvent> events)
events
. The events must be provided in
chronological order, starting with the event that occurred first.events
- The events to be parsed. Must not be null
and all contained
events must not be null
.public Set<ResourceDemandMeasurementResult> getMeasurementResultsFor(ResourceDemandingInternalAction resourceDemandingInternalAction)
rdia
.resourceDemandingInternalAction
- A resource demanding internal action to get
the measurement results of. Must not be null
.rdia
. Is never null
.
Contains never null
elements.public Set<BranchDecisionMeasurementResult> getMeasurementResultsFor(SeffBranch branch)
branch
.branch
- A SEFF Branch to get the measurement results of. Must not be
null
.branch
. Is never null
.
Contains never null
elements.public Set<LoopRepetitionCountMeasurementResult> getMeasurementResultsFor(SeffLoop loop)
loop
.loop
- A SEFF Loop to get the measurement results of. Must not be null
.loop
. Is never null
.
Contains never null
elements.public Set<ParameterChangeMeasurementResult> getMeasurementResultsFor(ExternalCallParameter externalCallParameter)
externalCallParameter
.externalCallParameter
- An external parameter to get the measurement results
of. Must not be null
.externalCallParameter
. Is never
null
. Contains never null
elements.