public class JMHSample_34_SafeLooping
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) static int |
BASE |
(package private) int |
size |
(package private) int[] |
xs |
Constructor and Description |
---|
JMHSample_34_SafeLooping() |
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args) |
void |
measureRight_1(Blackhole bh) |
void |
measureRight_2() |
int |
measureWrong_1() |
int |
measureWrong_2() |
void |
setup() |
static void |
sink(int v) |
(package private) static int |
work(int x) |
static final int BASE
int size
int[] xs
static int work(int x)
public void setup()
public int measureWrong_1()
public int measureWrong_2()
public void measureRight_1(Blackhole bh)
public void measureRight_2()
public static void sink(int v)
public static void main(java.lang.String[] args) throws RunnerException
RunnerException