Scala Compiler2.12.7 < Back
 

# Packages

-  package root

  The Scala compiler and reflection APIs.

  The Scala compiler and reflection APIs.

  Definition Classes
    root
-  package scala
  Definition Classes
    root
-  package tools
  Definition Classes
    scala
-  package nsc
  Definition Classes
    tools
-  package ast
  Definition Classes
    nsc
-  package backend
  Definition Classes
    nsc
-  package classpath
  Definition Classes
    nsc
-  package doc
  Definition Classes
    nsc
-  package interactive
  Definition Classes
    nsc
-  package interpreter

  The main REPL related classes and values are as follows.

  The main REPL related classes and values are as follows. In addition to standard compiler classes Global and Settings, there are:

  History: an interface for session history. Completion: an interface for tab completion. ILoop (formerly InterpreterLoop): The umbrella class for a session. IMain (formerly Interpreter): Handles the evolving state of the session and handles submitting code to the compiler and handling the output. InteractiveReader: how ILoop obtains input. History: an interface for session history. Completion: an interface for tab completion. Power: a repository for more advanced/experimental features.

  ILoop contains { in: InteractiveReader, intp: IMain, settings: Settings, power: Power } InteractiveReader contains { history: History, completion: Completion } IMain contains { global: Global }

  Definition Classes
    nsc
-  package io
  Definition Classes
    nsc
-  package javac
  Definition Classes
    nsc
-  package plugins
  Definition Classes
    nsc
-  package profile
  Definition Classes
    nsc
- ConsoleProfileReporter
- EventType
- ExtendedThreadMxBean
- ExternalToolHook
- GcEventData
- ProfileRange
- ProfileReporter
- ProfileSnap
- Profiler
- ProfilerPlugin
- ProfilerPluginRun
- StreamProfileReporter
- ThreadPoolFactory
-  package reporters
  Definition Classes
    nsc
-  package settings
  Definition Classes
    nsc
-  package symtab
  Definition Classes
    nsc
-  package transform
  Definition Classes
    nsc
-  package typechecker
  Definition Classes
    nsc
-  package util
  Definition Classes
    nsc

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.  case class GcEventData(pool: String, reportTimeNs: Long, gcStartMillis: Long, gcEndMillis: Long, name: String, action: String, cause: String, threads: Long) extends Product with Serializable
4.  case class ProfileRange(start: ProfileSnap, end: ProfileSnap, phase: Phase, purpose: String, taskCount: Int, thread: Thread) extends Product with Serializable
5.  sealed trait ProfileReporter extends AnyRef
6.  case class ProfileSnap(threadId: Long, threadName: String, snapTimeNanos: Long, idleTimeNanos: Long, cpuTimeNanos: Long, userTimeNanos: Long, allocatedBytes: Long, heapBytes: Long) extends Product with Serializable
7.  sealed trait Profiler extends AnyRef
8.  trait ProfilerPlugin extends AnyRef

   Specifies a plugin to the profiler.

   Specifies a plugin to the profiler. This is generated via the ServiceLoader. See java.util.ServiceLoader javadoc for configuration information

   Note: this must generate a java interface only

9.  trait ProfilerPluginRun extends AnyRef

   Generated by ProfilerPlugin, the plugin information for a single run of the compiler

10.  class StreamProfileReporter extends ProfileReporter
11.  sealed trait ThreadPoolFactory extends AnyRef

### Value Members

1.  object ConsoleProfileReporter extends ProfileReporter
2.  object EventType extends Enumeration
3.  object Profiler
4.  object ThreadPoolFactory

### Ungrouped