}
}
}
public void dumpCounters() throws Exception {
VcService vcService = VcContext.getService();
ManagedObjectReference pmRef= vcService.getServiceInstanceContent().getPerfManager();
PerformanceManager perfMgr = MoUtil.getManagedObject(pmRef);
CounterInfo[] allCounters = perfMgr.getPerfCounter();
for (CounterInfo c: allCounters) {
int key = c.getKey();
String group = formatElementInfo(c.getGroupInfo());