public interface Pass
Pass
represents a compiler pass that runs on a
Job
. All work in the compiler is done by passes, which are
scheduled by the scheduler (Scheduler
) to satisfy goals
(Goal
).Modifier and Type | Method and Description |
---|---|
long |
exclusiveTime()
The total accumulated time in ms since the last timer reset
that the pass was running, excluding spawned passes.
|
Goal |
goal()
The goal the pass is trying to satisfy.
|
long |
inclusiveTime()
The total accumulated time in ms since the last timer reset
that the pass was running, including spawned passes.
|
java.lang.String |
name()
Return a user-readable name for the pass.
|
void |
resetTimers()
Reset the pass timers to 0.
|
boolean |
run()
Run the pass.
|
void |
toggleTimers(boolean exclusive_only)
Start/stop the pass timers.
|
Goal goal()
java.lang.String name()
boolean run()
void resetTimers()
void toggleTimers(boolean exclusive_only)
long inclusiveTime()
long exclusiveTime()