Class MetricsPersister
java.lang.Object
net.minecraft.util.profiling.metrics.storage.MetricsPersister
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
saveCategory
(MetricCategory pCategory, List<MetricSampler> pSamplers, Path pPath) private void
saveDeviations
(Map<MetricSampler, List<RecordedDeviation>> pDeviations, Path pPath) private void
saveMetrics
(Set<MetricSampler> pSamplers, Path pPath) private void
saveProfilingTaskExecutionResult
(ProfileResults pResults, Path pOutputPath) saveReports
(Set<MetricSampler> pSamplers, Map<MetricSampler, List<RecordedDeviation>> pDeviations, ProfileResults pResults)
-
Field Details
-
PROFILING_RESULTS_DIR
-
METRICS_DIR_NAME
- See Also:
-
DEVIATIONS_DIR_NAME
- See Also:
-
PROFILING_RESULT_FILENAME
- See Also:
-
LOGGER
private static final org.slf4j.Logger LOGGER -
rootFolderName
-
-
Constructor Details
-
MetricsPersister
-
-
Method Details
-
saveReports
public Path saveReports(Set<MetricSampler> pSamplers, Map<MetricSampler, List<RecordedDeviation>> pDeviations, ProfileResults pResults) -
saveMetrics
-
saveCategory
-
saveDeviations
-
saveProfilingTaskExecutionResult
-