Class MetricsPersister
java.lang.Object
net.minecraft.util.profiling.metrics.storage.MetricsPersister
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate void
saveCategory(MetricCategory p_146227_, List<MetricSampler> p_146228_, Path p_146229_)
private void
saveDeviations(Map<MetricSampler,List<RecordedDeviation>> p_146245_, Path p_146246_)
private void
saveMetrics(Set<MetricSampler> p_146248_, Path p_146249_)
private void
saveProfilingTaskExecutionResult(ProfileResults p_146224_, Path p_146225_)
saveReports(Set<MetricSampler> p_146251_, Map<MetricSampler,List<RecordedDeviation>> p_146252_, ProfileResults p_146253_)
-
Field Details
-
PROFILING_RESULTS_DIR
-
METRICS_DIR_NAME
- See Also:
- Constant Field Values
-
DEVIATIONS_DIR_NAME
- See Also:
- Constant Field Values
-
PROFILING_RESULT_FILENAME
- See Also:
- Constant Field Values
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
rootFolderName
-
-
Constructor Details
-
MetricsPersister
-
-
Method Details
-
saveReports
public Path saveReports(Set<MetricSampler> p_146251_, Map<MetricSampler,List<RecordedDeviation>> p_146252_, ProfileResults p_146253_) -
saveMetrics
-
saveCategory
-
saveDeviations
-
saveProfilingTaskExecutionResult
-