Annotation Type OutputTimeUnit


@Inherited @Target({METHOD,TYPE}) @Retention(RUNTIME) public @interface OutputTimeUnit

OutputTimeUnit provides the default time unit to report the results in.

This annotation may be put at Benchmark method to have effect on that method only, or at the enclosing class instance to have the effect over all Benchmark methods in the class. This annotation may be overridden with the runtime options.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Element Details

    • value

      TimeUnit value
      Returns:
      Time unit to use.