Packages

p

scala.tools.nsc

profile

package profile

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. abstract class ExtendedThreadMxBean extends ThreadMXBean
  2. 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.

  3. class FutureInPhase[T] extends InPhase
  4. case class GcEventData(pool: String, gcStartMillis: Long, gcEndMillis: Long) extends Product with Serializable
  5. 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

  6. case class ProfileCounters(wallClockTimeNanos: Long, idleTimeNanos: Long, cpuTimeNanos: Long, userTimeNanos: Long, allocatedBytes: Long, retainedHeapBytes: Long, gcTimeMillis: Long) extends Product with Serializable
  7. sealed trait ProfileReporter extends AnyRef
  8. sealed trait Profiler extends AnyRef
  9. class RunnableInPhase extends InPhase with Runnable
  10. class StreamProfileReporter extends ProfileReporter

Value Members

  1. object ConsoleProfileReporter extends ProfileReporter
  2. object EventType extends Enumeration
  3. 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

  4. object InPhase
  5. object Profiler
  6. 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

Ungrouped