public void parseResults()

in harness/src/main/java/org/apache/geode/perftest/yardstick/analysis/YardstickThroughputSensorParser.java [42:58]


  public void parseResults(File resultDir) throws IOException {
    File sensorData = new File(resultDir, sensorOutputFile);
    try (BufferedReader dataStream = new BufferedReader(new FileReader(sensorData))) {
      String nextLine;

      while ((nextLine = dataStream.readLine()) != null) {
        if (nextLine.startsWith("--") ||
            nextLine.startsWith("@@") ||
            nextLine.startsWith("**")) {
          continue;
        }
        datapoints.add(new SensorDatapoint(nextLine));
      }
    } catch (java.io.FileNotFoundException e) {
      logger.warn("Result file {} missing.", sensorData, e);
    }
  }