Packages

c

ch.epfl.scala.profilers

ProfilingImpl

final class ProfilingImpl[G <: Global] extends ProfilingStats

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ProfilingImpl
  2. ProfilingStats
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ProfilingImpl(global: G, config: PluginConfig, logger: Logger[G])

Type Members

  1. case class DelayedMacro(pt: G.Type, tree: G.Tree) extends MacroState with Product with Serializable
  2. case class FailedMacro(pt: G.Type, tree: G.Tree) extends MacroState with Product with Serializable
  3. case class FallbackMacro(pt: G.Type, tree: G.Tree) extends MacroState with Product with Serializable
  4. case class ImplicitInfo(count: Int) extends Product with Serializable
  5. case class ImplicitProfiler(perCallSite: Map[G.Position, ImplicitInfo], perFile: Map[SourceFile, ImplicitInfo], perType: Map[G.Type, ImplicitInfo], inTotal: ImplicitInfo) extends Product with Serializable
  6. case class MacroEntry(id: Int, originalPt: G.Type, start: scala.tools.nsc.Global.statistics.TimerSnapshot, state: Option[MacroState]) extends Product with Serializable
  7. case class MacroInfo(expandedMacros: Int, expandedNodes: Int, expansionNanos: Long) extends Product with Serializable

    Represents the profiling information about expanded macros.

    Represents the profiling information about expanded macros.

    Note that we could derive the value of expanded macros from the number of instances of MacroInfo if it were not by the fact that a macro can expand in the same position more than once. We want to be able to report/analyse such cases on their own, so we keep it as a paramater of this entity.

  8. case class MacroProfiler(perCallSite: Map[G.Position, MacroInfo], perFile: Map[SourceFile, MacroInfo], inTotal: MacroInfo, repeatedExpansions: Map[G.Tree, Int]) extends Product with Serializable
  9. sealed trait MacroState extends AnyRef
  10. case class SkippedMacro(pt: G.Type, tree: G.Tree) extends MacroState with Product with Serializable
  11. case class SucceededMacro(pt: G.Type, tree: G.Tree) extends MacroState with Product with Serializable
  12. case class SuppressedMacro(pt: G.Type, tree: G.Tree) extends MacroState with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. def concreteTypeFromSearch(tree: G.Tree, default: G.Type): G.Type
  7. final val delayedMacros: scala.tools.nsc.Global.statistics.SubCounter
    Definition Classes
    ProfilingStats
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. final val failedMacros: scala.tools.nsc.Global.statistics.SubCounter
    Definition Classes
    ProfilingStats
  11. final val fallbackMacros: scala.tools.nsc.Global.statistics.SubCounter
    Definition Classes
    ProfilingStats
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  13. def generateGraphData(outputDir: AbsolutePath, globalDirMaybe: Option[AbsolutePath]): List[AbsolutePath]
  14. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. val global: G
    Definition Classes
    ProfilingImplProfilingStats
  16. def groupPerFile[V](kvs: Map[G.Position, V])(empty: V, aggregate: (V, V) => V): Map[SourceFile, V]
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. lazy val implicitProfiler: ImplicitProfiler
  19. final val implicitSearchesByMacrosCount: scala.tools.nsc.Global.statistics.SubCounter
    Definition Classes
    ProfilingStats
  20. final val implicitSearchesByPos: HashMap[Position, Int]
    Definition Classes
    ProfilingStats
  21. final val implicitSearchesByType: HashMap[G.Type, Int]
    Definition Classes
    ProfilingStats
  22. final val implicitSearchesSourceFilesByType: HashMap[G.Type, HashSet[SourceFile]]
    Definition Classes
    ProfilingStats
  23. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  24. lazy val macroProfiler: MacroProfiler
  25. final val macrosByType: HashMap[G.Type, Int]
    Definition Classes
    ProfilingStats
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final val preciseMacroTimer: scala.tools.nsc.Global.statistics.Timer
    Definition Classes
    ProfilingStats
  30. def registerProfilers(): Unit
  31. def registerTyperTimerFor(prefix: String): scala.tools.nsc.Global.statistics.Timer
  32. final val skippedMacros: scala.tools.nsc.Global.statistics.SubCounter
    Definition Classes
    ProfilingStats
  33. final val suppressedMacros: scala.tools.nsc.Global.statistics.SubCounter
    Definition Classes
    ProfilingStats
  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toMillis(nanos: Long): Long
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  40. object ImplicitInfo extends Serializable
  41. object MacroInfo extends Serializable
  42. object ProfilingMacroPlugin extends (G.analyzer)#MacroPlugin

Inherited from ProfilingStats

Inherited from AnyRef

Inherited from Any

Ungrouped