trait InvocationCount extends Measurer[Map[String, Long]]
Mixin for all org.scalameter.Measurer implementations that perform any kind of method invocation counting.
- Alphabetic
- By Inheritance
- InvocationCount
- Measurer
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def matcher: InvocationCountMatcher
- abstract def name: String
- Definition Classes
- Measurer
Concrete 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
- def afterExecution(context: Context): Unit
Removes instrumented jar from filesystem.
Removes instrumented jar from filesystem.
- context
org.scalameter.Context that should be a result of the prepareContext
- Definition Classes
- InvocationCount → Measurer
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def beforeExecution(context: Context): Unit
Creates a jar with instrumented classes under the location pointed by Key.exec.measurers.instrumentedJarPath, and saves the internal method lookup table under the Key.exec.measurers.methodInvocationLookupTable.
Creates a jar with instrumented classes under the location pointed by Key.exec.measurers.instrumentedJarPath, and saves the internal method lookup table under the Key.exec.measurers.methodInvocationLookupTable.
- context
org.scalameter.Context that should be a result of the prepareContext
- Definition Classes
- InvocationCount → Measurer
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[U](f: (Quantity[Map[String, Long]]) => Quantity[U]): Measurer[U]
- Definition Classes
- Measurer
- def measure[T](context: Context, measurements: Int, setup: (T) => Any, tear: (T) => Any, regen: () => T, snippet: (T) => Any): Seq[Quantity[Map[String, Long]]]
- Definition Classes
- InvocationCount → Measurer
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prepareContext(context: Context): Context
Creates the Key.exec.measurers.instrumentedJarPath with an abstract temporary file, the Key.exec.measurers.methodInvocationLookupTable with an empty scala.collection.mutable.AbstractBuffer, and the Key.finalClasspath with a classpath that consists of an instrumented jar and the Key.classpath.
Creates the Key.exec.measurers.instrumentedJarPath with an abstract temporary file, the Key.exec.measurers.methodInvocationLookupTable with an empty scala.collection.mutable.AbstractBuffer, and the Key.finalClasspath with a classpath that consists of an instrumented jar and the Key.classpath.
- context
org.scalameter.Context that should the setup tree context
- Definition Classes
- InvocationCount → Measurer
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def usesInstrumentedClasspath: Boolean
Indicates if a measurer uses instrumented classpath - if
true
measurer must be run using an executor that spawns separate JVMs.Indicates if a measurer uses instrumented classpath - if
true
measurer must be run using an executor that spawns separate JVMs.- Definition Classes
- InvocationCount → Measurer
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()