Suppose I have
@Benchmark
@OutputTimeUnit(TimeUnit.MICROSECONDS)
public void foo() {
for (int i = 0; i < 1000; i++) {
System.out.println(i);
}
}
and it runs, say, in 300 microseconds.
Question: is there any way of obtaining an int/long with the value of 300?