ActionRateSignature signature = new ActionRateSignature();
InputPattern[] inputPatterns = action.getInputPatterns();
for (int j = 0; j < inputPatterns.length; j++) {
InputPattern inputPattern = inputPatterns[j];
Expression repeatExpr = inputPattern.getRepeatExpr();
int repeatVal = _computeRepeatExpression(repeatExpr, action);
signature.addInputRate(inputPattern.getPortname(), inputPattern
.getVariables().length
* repeatVal);
}
OutputExpression[] outputexps = action.getOutputExpressions();