result[i].put(FlatNode.getFlatNode(obj), new Integer(val));
result[i].put(rawFlattener.getFlatNode(obj), new Integer(val));
    private static void createExecutionCounts(SIRStream str) {	// get the execution counts from the scheduler	HashMap[] executionCounts = SIRScheduler.getExecutionCounts(str);	// make fresh hashmaps for results	HashMap[] result = { initExecutionCounts = new HashMap(), 			     steadyExecutionCounts = new HashMap()} ;	// then filter the results to wrap every filter in a flatnode,	// and ignore splitters	for (int i=0; i<2; i++) {	    for (Iterator it = executionCounts[i].keySet().iterator();		 it.hasNext(); ){		SIROperator obj = (SIROperator)it.next();		if (!(obj instanceof SIRSplitter)) {		    int val = ((int[])executionCounts[i].get(obj))[0];		    result[i].put(FlatNode.getFlatNode(obj), new Integer(val));		}	    }	}    }