org.scalameter.Measurer

MethodInvocationCount

case class MethodInvocationCount(matcher: InvocationCountMatcher) extends InvocationCount with Product with Serializable

Counts invocations of arbitrary method(s) specified by org.scalameter.execution.invocation.InvocationCountMatcher.

Linear Supertypes
Product, Equals, InvocationCount, Measurer[Map[String, Long]], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. MethodInvocationCount
  2. Product
  3. Equals
  4. InvocationCount
  5. Measurer
  6. Serializable
  7. Serializable
  8. AnyRef
  9. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MethodInvocationCount(matcher: InvocationCountMatcher)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. 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
    InvocationCountMeasurer
  7. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  8. 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
    InvocationCountMeasurer
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. def map[U](f: (Quantity[Map[String, Long]]) ⇒ Quantity[U]): Measurer[U]

    Definition Classes
    Measurer
  15. val matcher: InvocationCountMatcher

    Definition Classes
    MethodInvocationCountInvocationCount
  16. 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
    InvocationCountMeasurer
  17. def name: String

    Definition Classes
    MethodInvocationCountMeasurer
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. 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
    InvocationCountMeasurer
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. 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
    InvocationCountMeasurer
  24. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Product

Inherited from Equals

Inherited from InvocationCount

Inherited from Measurer[Map[String, Long]]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped