{
int iThreadID = entry.getKey();
CallGraph callGraph = entry.getValue();
//callGraph.onVirtualVertex("end_vertex");
callGraph.normalizeEndVertices();
callGraph.calculateTransitionProbabilities();
saveCallGraph(callGraph,Integer.toString(iThreadID));
}
//Merge threads graphs into the thread groups
for (Map.Entry<Integer, CallGraph> threadGraphEntry : m_callGraphThreads.entrySet())