Skip to content
Snippets Groups Projects
Commit 23c3d71c authored by Sören Henning's avatar Sören Henning
Browse files

work on statistics for operation dependencies

parent 971c2867
No related branches found
No related tags found
1 merge request!17Get impletemented stages and Java 8
package kieker.analysis.dev;
public class DependencyStatisticsDecorator {
public void decorate(final OperationsDependency operationsDependency) {
for (CollectedAggrOperationCall operation : operationsDependency.getOperations()) {
// List<Long> durations = operation.getBaseOperationCalls().stream().map(call -> call.getDuration()).collect(Collectors.toList());
// StatisticsUtility.calculateStatistics(durations);
}
}
}
package kieker.analysis.dev;
import java.util.Collection;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
......@@ -64,6 +65,14 @@ public class OperationsDependency {
}
}
public Collection<CollectedAggrOperationCall> getOperations() {
return operations.values();
}
public Collection<OperationsDependencyRelation> getRelations() {
return relations.values();
}
// TODO Just for debugging
public void printOperations() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment