}
for (Integer idx : runAsyncPerFragment.keySet()) {
sizeMetrics[idx].put(FRAGMENT_POINTS, runAsyncPerFragment.get(idx));
}
// initial fragment sequence points
JSONArray initialSequence = new JSONArray();
for (int fragId : jprogram.getInitialFragmentIdSequence()) {
initialSequence.put(partitionResult.getFragmentForRunAsync(fragId));
}
jsonPoints.put(INITIAL_SEQUENCE, initialSequence);
}
jsonPoints.put(FRAGMENTS, this.sizeMetrics);