public static long getTotalWastedResources(List<AppResult> resultList) {
    long totalWastedResources = 0;
    for (AppResult result : resultList) {
      totalWastedResources += result.resourceWasted;
    }
    return totalWastedResources;
  }
Returns the total wasted resource of the job list
@param resultList The list of the jobs
@return the total wasted resources of the job list
app/com/linkedin/drelephant/util/Utils.java