Class Control

java.lang.Object
org.openjdk.jmh.infra.Control

public final class Control extends Object
Control object, used to communicate significant information from JMH to the benchmark. WARNING: The API for this class is considered unstable, and can be changed without notice.
  • Field Details

    • startMeasurement

      public volatile boolean startMeasurement
      Transitions to "true", once JMH had started the measurement for the current iteration.
    • stopMeasurement

      public volatile boolean stopMeasurement
      Transitions to "true", once JMH is stopping the measurement for the current iteration
  • Constructor Details

    • Control

      public Control()