object Timing extends Loggable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Timing
- Loggable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Type Members
- trait Accumulator extends AnyRef
Mix this trait into any class to add the
accumTiming
,clearTimings
, andprintTimings
variety methods to that class.Mix this trait into any class to add the
accumTiming
,clearTimings
, andprintTimings
variety methods to that class. The target class must provide atimingLabel
, which will be prepended to timing messages generated for printing. - trait TimeProvider[T, D] extends AnyRef
Abstracts the concept of time and duration to type parameters T and D respectively.
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 calcNanoTime[T](task: => T): (Long, T)
- def calcTime[T](task: => T): (Long, T)
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def debugMonixTime[T](label: String)(task: => Task[T]): Task[T]
- def debugNanoTime(label: String, time: Long): Unit
- def debugNanoTime[T](label: String)(task: => T): T
- def debugTime(label: String, time: Long): Unit
- def debugTime[T](label: String)(task: => T): T
- 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() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def logMonixTime[T](label: String)(task: => Task[T]): Task[T]
- def logNanoTime(label: String, time: Long): Unit
- def logNanoTime[T](label: String)(task: => T): T
- def logTime(label: String, time: Long): Unit
- def logTime[T](label: String)(task: => T): T
- implicit val logger: Logger
- Attributes
- protected
- Definition Classes
- Loggable
- Annotations
- @transient()
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def withTimeAccumulator[T](prefix: String)(body: (Accumulator) => T): T
Run the given
body
of code, passing in a temporaryAccumulator
instance that uses the givenprefix
as itstimingLabel
. - object SystemNanoTime extends TimeProvider[Long, Long]
A time provider that gets the system's "nano" time as nanoseconds
- object SystemTime extends TimeProvider[Long, Long]
A time provider that gets the system time as milliseconds
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated