public void setUp() throws Exception {
dc = new DebugCounter();
mctr = dc.moduleCounters;
mctr.put("switch", new ConcurrentHashMap<String, CounterIndexStore>());
RetCtrInfo rci = dc.getCounterId("switch", "01");
dc.addToModuleCounterHierarchy("switch", 4, rci);
rci = dc.getCounterId("switch", "01/pktin");
dc.addToModuleCounterHierarchy("switch", 42, rci);
rci = dc.getCounterId("switch", "01/pktout");
dc.addToModuleCounterHierarchy("switch", 47, rci);