33 enum CounterType { PACKETS, BYTES, PACKETS_AND_BYTES };
39 static CounterType toCounterType(
int type);
50 virtual void emitCount(
CodeBuilder *builder,
const IR::MethodCallExpression *expression,
53 virtual void emitCounterInitializer(
CodeBuilder *builder);