Class IterationParamsL2

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
IterationParamsL3

abstract class IterationParamsL2 extends IterationParamsL1 implements Serializable
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • type

      protected final IterationType type
      iteration type
    • count

      protected final int count
      amount of iterations
    • timeValue

      protected final TimeValue timeValue
      iteration runtime
    • batchSize

      protected final int batchSize
      batch size (method invocations inside the single op)
  • Constructor Details

    • IterationParamsL2

      public IterationParamsL2(IterationType type, int count, TimeValue time, int batchSize)
  • Method Details

    • getType

      public IterationType getType()
      Iteration type: separates warmup iterations vs. measurement iterations.
      Returns:
      iteration type.
    • getCount

      public int getCount()
      Number of iterations.
      Returns:
      number of iterations of given type.
    • getTime

      public TimeValue getTime()
      Time for iteration.
      Returns:
      time
    • getBatchSize

      public int getBatchSize()
      Batch size for iteration.
      Returns:
      batch size
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object