abstract class Statistics extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Statistics
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Statistics(symbolTable: SymbolTable, settings: MutableSettings)

Type Members

  1. class Counter extends Quantity with Ordered[Counter]
  2. class QuantMap[K, V] extends HashMap[K, V] with SynchronizedMap[K, V] with Quantity

    A mutable map quantity where missing elements are automatically inserted on access by executing initValue.

  3. trait Quantity extends AnyRef

    The base trait for quantities.

    The base trait for quantities. Quantities with non-empty prefix are printed in the statistics info.

  4. class StackableTimer extends SubTimer with Ordered[StackableTimer]
  5. class SubCounter extends Counter with SubQuantity
  6. trait SubQuantity extends Quantity
  7. class SubTimer extends Timer with SubQuantity
  8. class Timer extends Quantity
  9. type TimerSnapshot = (Long, Long)
  10. class TimerStack extends AnyRef

    A stack of timers, all active, where a timer's specific "clock" is stopped as long as it is buried by some other timer in the stack, but its aggregate clock keeps on ticking.

    A stack of timers, all active, where a timer's specific "clock" is stopped as long as it is buried by some other timer in the stack, but its aggregate clock keeps on ticking.

    Note: Not threadsafe

  11. class View extends Quantity

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. def allQuantities: Iterable[Quantity]
  5. final def areStatisticsLocallyEnabled: Boolean

    Tells whether statistics should be definitely reported to the user for this Global instance.

    Tells whether statistics should be definitely reported to the user for this Global instance.

    Annotations
    @inline()
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. final def enabled: Boolean

    Represents whether normal statistics can or cannot be enabled.

    Represents whether normal statistics can or cannot be enabled.

    Annotations
    @inline()
  9. def enabled_=(cond: Boolean): Unit
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def hotEnabled: Boolean

    Represents whether hot statistics can or cannot be enabled.

    Represents whether hot statistics can or cannot be enabled.

    Annotations
    @inline()
  16. def hotEnabled_=(cond: Boolean): Unit
  17. final def incCounter[K](ctrs: QuantMap[K, Counter], key: K): Unit

    If enabled, increment counter in map ctrs at index key by one

    If enabled, increment counter in map ctrs at index key by one

    Annotations
    @inline()
  18. final def incCounter(c: Counter, delta: Int): Unit

    If enabled, increment counter by given delta

    If enabled, increment counter by given delta

    Annotations
    @inline()
  19. final def incCounter(c: Counter): Unit

    If enabled, increment counter by one

    If enabled, increment counter by one

    Annotations
    @inline()
  20. def initFromSettings(currentSettings: MutableSettings): Unit
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def newByClass[V](prefix: String, phases: String*)(initValue: ⇒ V)(implicit arg0: (V) ⇒ Ordered[V]): QuantMap[Class[_], V]

    Same as newQuantMap, where the key type is fixed to be Class[_]

  24. def newCounter(prefix: String, phases: String*): Counter

    Create a new counter that shows as prefix and is active in given phases

  25. def newQuantMap[K, V](prefix: String, phases: String*)(initValue: ⇒ V)(implicit arg0: (V) ⇒ Ordered[V]): QuantMap[K, V]

    Create a new quantity map that shows as prefix and is active in given phases.

  26. def newRelCounter(prefix: String, ctr: Counter): Counter

    Create a new relative counter that shows as prefix and is active in the same phases as its base counter.

    Create a new relative counter that shows as prefix and is active in the same phases as its base counter. Relative counters print as percentages of their base counters.

  27. def newStackableTimer(prefix: String, timer: Timer): StackableTimer

    Create a new stackable that shows as prefix and is active in the same phases as its base timer.

    Create a new stackable that shows as prefix and is active in the same phases as its base timer. Stackable timers are subtimers that can be stacked in a timerstack, and that print aggregate, as well as specific durations.

  28. def newSubCounter(prefix: String, ctr: Counter): SubCounter

    Create a new subcounter that shows as prefix and is active in the same phases as its base counter.

    Create a new subcounter that shows as prefix and is active in the same phases as its base counter. Subcounters can track increments of their base counters and print as percentages of their base counters.

  29. def newSubTimer(prefix: String, timer: Timer): Timer

    Create a new subtimer that shows as prefix and is active in the same phases as its base timer.

    Create a new subtimer that shows as prefix and is active in the same phases as its base timer. Subtimers can track increments of their base timers and print as percentages of their base timers.

  30. def newTimer(prefix: String, phases: String*): Timer

    Create a new counter that shows as prefix and is active in given phases

  31. def newTimerStack(): TimerStack

    Create a new timer stack

  32. def newView(prefix: String, phases: String*)(quant: ⇒ Any): View

    Create a new view that shows as prefix and is active in given phases.

    Create a new view that shows as prefix and is active in given phases. The view always reflects the current value of quant as a quantity.

  33. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  35. final def popTimer(timers: TimerStack, prev: TimerSnapshot): Unit

    If enabled, stop and pop timer from timer stack

    If enabled, stop and pop timer from timer stack

    Annotations
    @inline()
  36. final def pushTimer(timers: TimerStack, timer: ⇒ StackableTimer): TimerSnapshot

    If enabled, push and start a new timer in timer stack

    If enabled, push and start a new timer in timer stack

    Annotations
    @inline()
  37. final def reportStatisticsOverhead(reporter: Reporter): Unit

    Reports the overhead of measuring statistics via the nanoseconds variation.

  38. final def startCounter(sc: SubCounter): (Int, Int)

    If enabled, start subcounter.

    If enabled, start subcounter. While active it will track all increments of its base counter.

    Annotations
    @inline()
  39. final def startTimer(tm: Timer): TimerSnapshot

    If enabled, start timer

    If enabled, start timer

    Annotations
    @inline()
  40. final def stopCounter(sc: SubCounter, start: (Int, Int)): Unit

    If enabled, stop subcounter from tracking its base counter.

    If enabled, stop subcounter from tracking its base counter.

    Annotations
    @inline()
  41. final def stopTimer(tm: Timer, start: TimerSnapshot): Unit

    If enabled, stop timer

    If enabled, stop timer

    Annotations
    @inline()
  42. val symbolTable: SymbolTable
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. final def timed[T](timer: Timer)(body: ⇒ T): T

    Helper for measuring the overhead of a concrete thunk body.

    Helper for measuring the overhead of a concrete thunk body.

    Annotations
    @inline()
  45. def toString(): String
    Definition Classes
    AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped