code: public String[] getCountersAsString() {
      synchronized (counters) {
        final String[] output = new String[counters.size()];
        int i = 0;
        for (Entry<String, Long> entry : counters.entrySet()) {
          output[i++] = entry.getKey() + ": " + entry.getValue().toString();
        }
        return output;
      }
    }
docs: /*
  (non-Javadoc)
  
  @see com.orientechnologies.common.profiler.ProfileMBean#getStatistics()