Class IterationParams

  • All Implemented Interfaces:
    java.io.Serializable

    public final class IterationParams
    extends IterationParamsL4
    Iteration parameters.

    Iteration parameters are separated in at least two instances, with different IterationType-s. The complete benchmark parameters not specific for a particular iteration are available in BenchmarkParams.

    This class is dual-purpose:

    1. It acts as the interface between host JVM and forked JVM, so that the latter would not have to figure out the benchmark configuration again
    2. It can be injected into benchmark methods to access the runtime configuration info about the benchmark
    See Also:
    Serialized Form
    • Constructor Detail

      • IterationParams

        public IterationParams​(IterationType type,
                               int count,
                               TimeValue time,
                               int batchSize)