docs: public PmiDataInfo[] listLevelData(int level) {
          ArrayList levelData = new ArrayList();
  
          Iterator allData = perfData.values().iterator();
          while (allData.hasNext()) {
              PmiDataInfo dataInfo = (PmiDataInfo) allData.next();
              if (dataInfo.getLevel() <= level) {
                  levelData.add(dataInfo);
              }
  
          }
  
          // get the array
          PmiDataInfo[] ret = new PmiDataInfo[levelData.size()];
          for (int i = 0; i < ret.length; i++)
              ret[i] = (PmiDataInfo) levelData.get(i);
          return ret;
      }