HashMap[] executionCounts = SIRScheduler.getExecutionCounts(str);
    private static void createExecutionCounts(SIRStream str,					      RawFlattener rawFlattener) {	// 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];		    //System.err.println("execution count for " + obj + ": " + val);		    /** This bug doesn't show up in the new version of		     * FM Radio - but leaving the comment here in case		     * we need to special case any other scheduler bugs.		      		    if (val==25) { 			System.err.println("Warning: catching scheduler bug with special-value "					   + "overwrite in RawBackend");			val=26;		    }		    */		    if (rawFlattener.getFlatNode(obj) != null)			result[i].put(rawFlattener.getFlatNode(obj), 				      new Integer(val));		}	    }	}	//now, in the above calculation, an execution of a joiner node is 	//considered one cycle of all of its inputs.  For the remainder of the	//raw backend, I would like the execution of a joiner to be defined as	//the joiner passing one data item down stream	//to calculate this, simply multiple the execution count generated above	//by the sum of the incoming weights of the joiner	for (int i=0; i < 2; i++) {	    Iterator it = result[i].keySet().iterator();	    while(it.hasNext()){		FlatNode node = (FlatNode)it.next();		if (node.contents instanceof SIRJoiner) {		    int sum = 0;		    for (int j = 0; j < node.inputs; j++)			sum += node.incomingWeights[j];		    int oldVal = ((Integer)result[i].get(node)).intValue();		    result[i].put(node, new Integer(sum*oldVal));		}	    }	}    }