Class

org.scalameter.Measurer

MethodInvocationCount

Related Doc: package Measurer

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MethodInvocationCount(matcher: InvocationCountMatcher)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def afterExecution(context: Context): Unit

    Permalink

    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
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def beforeExecution(context: Context): Unit

    Permalink

    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
  7. def clone(): AnyRef

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

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Measurer
  13. val matcher: InvocationCountMatcher

    Permalink
    Definition Classes
    MethodInvocationCountInvocationCount
  14. def measure[T](context: Context, measurements: Int, setup: (T) ⇒ Any, tear: (T) ⇒ Any, regen: () ⇒ T, snippet: (T) ⇒ Any): Seq[Quantity[Map[String, Long]]]

    Permalink
    Definition Classes
    InvocationCountMeasurer
  15. def name: String

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. def prepareContext(context: Context): Context

    Permalink

    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
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def usesInstrumentedClasspath: Boolean

    Permalink

    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
  22. final def wait(): Unit

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

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

    Permalink
    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