(int opcode, int size)
| 159 | } |
| 160 | |
| 161 | public static void record(int opcode, int size) { |
| 162 | Metric old = metrics.get(opcode); |
| 163 | old = old == null ? new Metric() : old; |
| 164 | metrics.put(opcode, old.record(size)); |
| 165 | } |
| 166 | |
| 167 | public static void printMetrics(Syntactic.Schema schema) { |
| 168 | List<Pair<Integer,Metric>> items = new ArrayList(); |
no test coverage detected