< prev index next >
src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.phases/src/org/graalvm/compiler/phases/BasePhase.java
Print this page
*** 84,110 ****
static final Pattern NAME_PATTERN = Pattern.compile("[A-Z][A-Za-z0-9]+");
}
public static class BasePhaseStatistics {
/**
! * Records time spent in {@link #apply(StructuredGraph, Object, boolean)}.
*/
private final TimerKey timer;
/**
! * Counts calls to {@link #apply(StructuredGraph, Object, boolean)}.
*/
private final CounterKey executionCount;
/**
* Accumulates the {@linkplain Graph#getNodeCount() live node count} of all graphs sent to
! * {@link #apply(StructuredGraph, Object, boolean)}.
*/
private final CounterKey inputNodesCount;
/**
! * Records memory usage within {@link #apply(StructuredGraph, Object, boolean)}.
*/
private final MemUseTrackerKey memUseTracker;
public BasePhaseStatistics(Class<?> clazz) {
timer = DebugContext.timer("PhaseTime_%s", clazz).doc("Time spent in phase.");
--- 84,110 ----
static final Pattern NAME_PATTERN = Pattern.compile("[A-Z][A-Za-z0-9]+");
}
public static class BasePhaseStatistics {
/**
! * Records time spent in {@link BasePhase#apply(StructuredGraph, Object, boolean)}.
*/
private final TimerKey timer;
/**
! * Counts calls to {@link BasePhase#apply(StructuredGraph, Object, boolean)}.
*/
private final CounterKey executionCount;
/**
* Accumulates the {@linkplain Graph#getNodeCount() live node count} of all graphs sent to
! * {@link BasePhase#apply(StructuredGraph, Object, boolean)}.
*/
private final CounterKey inputNodesCount;
/**
! * Records memory usage within {@link BasePhase#apply(StructuredGraph, Object, boolean)}.
*/
private final MemUseTrackerKey memUseTracker;
public BasePhaseStatistics(Class<?> clazz) {
timer = DebugContext.timer("PhaseTime_%s", clazz).doc("Time spent in phase.");
< prev index next >