object GlobalPerformanceEvaluation extends PerformanceEvaluation
- Alphabetic
- By Inheritance
- GlobalPerformanceEvaluation
- PerformanceEvaluation
- Locking
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- def doGetTime(s: Symbol): Nanoseconds
Called by the
getTime(Symbol)
method.Called by the
getTime(Symbol)
method.Thread Safety
The
getTime
method takes care of the synchronization.- Attributes
- protected[this]
- Definition Classes
- PerformanceEvaluation
- def doUpdateTimes(s: Symbol, timeSpan: Nanoseconds): Unit
Called by the
time
method.Called by the
time
method.Thread Safety
The
time
method takes care of the synchronization.- Attributes
- protected[this]
- Definition Classes
- PerformanceEvaluation
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def getMilliseconds(s: Symbol): Milliseconds
- Definition Classes
- PerformanceEvaluation
- final def getNanoseconds(s: Symbol): Nanoseconds
- Definition Classes
- PerformanceEvaluation
- final def getSeconds(s: Symbol): Seconds
- Definition Classes
- PerformanceEvaluation
- final def getTime(s: Symbol): Nanoseconds
Returns the overall time spent by computations with the given symbol.
Returns the overall time spent by computations with the given symbol.
- Definition Classes
- PerformanceEvaluation
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def reset(s: Symbol): Unit
Resets the overall time spent by computations with the given symbol.
Resets the overall time spent by computations with the given symbol.
- Definition Classes
- PerformanceEvaluation
- def resetAll(): Unit
Resets everything.
Resets everything. The effect is comparable to creating a new
PerformanceEvaluation
object, but is a bit more efficient.- Definition Classes
- PerformanceEvaluation
- final val rwLock: ReentrantReadWriteLock
- Attributes
- protected[this]
- Definition Classes
- Locking
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def time[T](s: Symbol)(f: => T): T
Times the execution of the given method / function literal / code block and adds it to the execution time of previous methods / function literals / code blocks that were measured and for which the same symbol was used.
Times the execution of the given method / function literal / code block and adds it to the execution time of previous methods / function literals / code blocks that were measured and for which the same symbol was used.
E.g.,time('base_analysis){ ... do something ... }
- s
Symbol used to put multiple measurements into relation.
- f
The function that will be evaluated and for which the execution time will be measured.
- Definition Classes
- PerformanceEvaluation
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def withReadLock[B](f: => B): B
Acquires the read lock associated with this instance and then executes the function
f
.Acquires the read lock associated with this instance and then executes the function
f
. Afterwards, the lock is released.- Attributes
- protected[this]
- Definition Classes
- Locking
- Annotations
- @inline()
- final def withWriteLock[B](f: => B): B
Acquires the write lock associated with this instance and then executes the function
f
.Acquires the write lock associated with this instance and then executes the function
f
. Afterwards, the lock is released.- Attributes
- protected[this]
- Definition Classes
- Locking
- Annotations
- @inline()
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated