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

renew debugging methods

parent f6e58e46
No related branches found
No related tags found
1 merge request!17Get impletemented stages and Java 8
......@@ -2,6 +2,7 @@ package kieker.analysis.dev;
import java.util.HashMap;
import java.util.Map;
import java.util.Map.Entry;
import kieker.analysis.traceanalysisdomain.AggregatedOperationCall;
......@@ -56,45 +57,43 @@ public class OperationsDependency {
}
// TODO Just for debugging
/*
* public void printOperations() {
*
* System.out.println("Operations:");
* System.out.println();
*
* for (Entry<OperationCallWrapper, List<AggregatedOperationCall>> call : operations.entrySet()) {
*
* System.out.println("Key:" + call.getKey().getOperationCall().getOperation() + " / " + call.getKey().getOperationCall().getFailedCause());
* System.out.println("Calls:");
*
* for (AggregatedOperationCall call2 : call.getValue()) {
*
* System.out.println(call2.getOperation());
* // System.out.println(call2.getFailedCause());
*
* }
* System.out.println();
* }
* }
*
* // TODO Just for debugging
*
* public void printDependcies() {
*
* System.out.println("Dependcies");
* System.out.println("Size" + relations.size());
*
* for (Entry<OperationsDependencyRelation, Integer> call : relations.entrySet()) {
*
* System.out.println("Set begin");
*
* System.out.println(call.getKey().getCaller().getOperationCall().getOperation());
* System.out.println(call.getKey().getCallee().getOperationCall().getOperation());
* System.out.println(call.getValue());
* System.out.println("Set end");
* System.out.println();
* }
* }
*/
public void printOperations() {
System.out.println("Operations:");
System.out.println();
for (Entry<String, AggregatedOperationCall> call : operations.entrySet()) {
System.out.println("Key: " + call.getKey());
System.out.println("Value: " + call.getValue().getOperation());
System.out.println("Calls:");
for (AggregatedOperationCall call2 : call.getValue().getChildren()) {
System.out.println(call2.getOperation());
// System.out.println(call2.getFailedCause());
}
System.out.println();
}
}
// TODO Just for debugging
public void printDependenncies() {
System.out.println("Dependencies");
System.out.println("Size: " + relations.size());
for (Entry<String, OperationsDependencyRelation> call : relations.entrySet()) {
System.out.println("Set begin");
// System.out.println(call.getKey());
System.out.println(call.getValue().getCaller().getOperation() + "->" + call.getValue().getCallee().getOperation());
System.out.println("Set end");
System.out.println();
}
}
}
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