package profile
- Alphabetic
- Public
- All
Type Members
- abstract class ExtendedThreadMxBean extends ThreadMXBean
-
class
ExternalToolHook
extends AnyRef
This is an external tool hook, it allows an external tool such as YourKit or JProfiler to instrument a particular phase of the compiler.
This is an external tool hook, it allows an external tool such as YourKit or JProfiler to instrument a particular phase of the compiler. Profilers have hooks to allow starting and stopping profiling on a given method invocation.
To use add -Yprofile-external-tool (defaults to typer) or -Yprofile-external-tool:<phase> (for a specific compiler phase) to the compiler flags.
'before' will be called at the start of the target phase and 'after' at the end, allowing custom profiling to be triggered.
- class FutureInPhase [T] extends InPhase
- case class GcEventData (pool: String, gcStartMillis: Long, gcEndMillis: Long) extends Product with Serializable
-
sealed abstract
class
InPhase
extends AnyRef
A wrapper to allow actions to be associated to a Phase.
A wrapper to allow actions to be associated to a Phase. This aids profiling, particularly where a actions occur in multiple threads, or out of order
When you are running a compilation task that involved some activity on a background thread (not the one running Global.compileUnits) the profiler is not aware of that thread and so cannot account for the activity.
By wrapping the activity in this class or one of it children the profiler (if enabled) is informed and the statistics can be gathered
No InPhase should run concurrently with another InPhase on the same thread - the statistics dont cope with nesting
- case class ProfileCounters (wallClockTimeNanos: Long, idleTimeNanos: Long, cpuTimeNanos: Long, userTimeNanos: Long, allocatedBytes: Long, retainedHeapBytes: Long, gcTimeMillis: Long) extends Product with Serializable
- sealed trait ProfileReporter extends AnyRef
- sealed trait Profiler extends AnyRef
- class RunnableInPhase extends InPhase with Runnable
- class StreamProfileReporter extends ProfileReporter
Value Members
- object ConsoleProfileReporter extends ProfileReporter
- object EventType extends Enumeration
-
object
FutureInPhase
an InPhase for Futures
an InPhase for Futures
By enclosing the activity in this wrapper the profiler (if enabled) is informed and the statistics can be gathered
- object InPhase
- object Profiler
-
object
RunnableInPhase
an InPhase for Runnables
an InPhase for Runnables
By enclosing the activity in the doRun method of this class the profiler (if enabled) is informed and the statistics can be gathered
The Scala compiler and reflection APIs.