Trait

org.bitbucket.inkytonik.kiama.util

Profiler

Related Doc: package util

Permalink

trait Profiler extends dsprofile.Profiler

Kiama-specific additions to dsprofile profilers.

Source
Profiler.scala
Linear Supertypes
dsprofile.Profiler, Values, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Profiler
  2. Profiler
  3. Values
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Child(i: Int) extends Step with Product with Serializable

    Permalink

    A step to child i of the current node, counting from zero.

  2. case class Dep(step: Step, tipe: Value, attribute: Value) extends Product with Serializable

    Permalink

    Dependence record saying that the source attribute depends on attribute of a node with type type that is the given step away.

  3. case class Record extends Product with Serializable

    Permalink
    Definition Classes
    Values
  4. abstract class Step extends AnyRef

    Permalink

    A single step in the evaluation of an attribute.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Next extends Step with Product with Serializable

    Permalink

    A step to the previous node in a sequence.

  5. object Other extends Step with Product with Serializable

    Permalink

    A step to a node that doesn't fit into any of the other categories.

    A step to a node that doesn't fit into any of the other categories. This category will be used for nodes that were obtained as the result of reference attributes or as values that sit outside the main tree.

  6. object Parent extends Step with Product with Serializable

    Permalink

    A step to the parent of the current node.

  7. object Prev extends Step with Product with Serializable

    Permalink

    A step to the previous node in a sequence.

  8. object Self extends Step with Product with Serializable

    Permalink

    A step nowhere.

    A step nowhere. I.e., the dependent attribute is evaluated at the current node.

  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. def checkFor(record: Record, dim: Dimension, eventtype: String, needed: Dimension)(f: (Value) ⇒ Value): Value

    Permalink
    Definition Classes
    Values
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def dimValue(record: Record, dim: Dimension): Value

    Permalink

    Support Kiama-specific profiling dimensions.

    Support Kiama-specific profiling dimensions.

    Definition Classes
    Profiler → Profiler → Values
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def finishReport(): Unit

    Permalink
    Definition Classes
    Values
  17. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  19. def includeTimings: Boolean

    Permalink
    Definition Classes
    Profiler
  20. def isEventType(record: Record, eventtype: String): Boolean

    Permalink
    Definition Classes
    Values
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def nanoToMs(nano: Long): Long

    Permalink
    Definition Classes
    Profiler
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. def output(str: String): Unit

    Permalink
    Definition Classes
    Values
  27. def outputln(str: String): Unit

    Permalink
    Definition Classes
    Values
  28. def parseProfileOption(value: String): Seq[Dimension]

    Permalink
    Definition Classes
    Profiler
  29. def percent(v: Long, total: Long): String

    Permalink
    Definition Classes
    Profiler
  30. def printDependencyGraph(record: Record, dim: Dimension): Unit

    Permalink

    Print the dependency graph for the attribute evaluation represented by record.

    Print the dependency graph for the attribute evaluation represented by record. The output is in dot form.

  31. def printReports(totalTime: Long, dimensionNames: Seq[Dimension], records: List[Record]): Unit

    Permalink
    Definition Classes
    Profiler
  32. var printTables: Boolean

    Permalink
    Definition Classes
    Values
  33. def profile[T](computation: ⇒ T, dimensionNames: Seq[Dimension], logging: Boolean): T

    Permalink
    Definition Classes
    Profiler
  34. def profileStart(logging: Boolean): Unit

    Permalink
    Definition Classes
    Profiler
  35. def profileStop(): (Seq[Dimension]) ⇒ Unit

    Permalink
    Definition Classes
    Profiler
  36. def profileStop(dimensionNames: Seq[Dimension]): Unit

    Permalink
    Definition Classes
    Profiler
  37. def profileStopInteractive(): Unit

    Permalink
    Definition Classes
    Profiler
  38. def startReport(dimensionNames: Seq[Dimension]): Unit

    Permalink

    Take any actions that need to be done at the start of reporting.

    Take any actions that need to be done at the start of reporting.

    Definition Classes
    Profiler → Values
  39. var startTime: Long

    Permalink
    Definition Classes
    Profiler
  40. def summariseAlongDims(dimensionNames: Seq[Dimension], records: List[Record], nrecords: Int, profiledTime: Long): Unit

    Permalink
    Definition Classes
    Profiler
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. def time[T](computation: ⇒ T, warmup: Int, n: Int, discard: Int): Unit

    Permalink
    Definition Classes
    Profiler
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. def trace(predicate: (Event) ⇒ Boolean): Unit

    Permalink
    Definition Classes
    Profiler
  45. def valueToString(a: Value): String

    Permalink
    Definition Classes
    Values
  46. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from dsprofile.Profiler

Inherited from Values

Inherited from AnyRef

Inherited from Any

Ungrouped