public class FloatToDoubleBenchmarkSample extends Object
| Modifier and Type | Field and Description |
|---|---|
protected de.gsi.dataset.spi.DoubleDataSet |
dataSet1 |
protected DoubleDataSet |
dataSet2 |
protected de.gsi.dataset.spi.FloatDataSet |
dataSet3 |
protected double[] |
doubleArray |
protected it.unimi.dsi.fastutil.doubles.DoubleArrayList |
doubleArrayList |
protected ArrayList<Double> |
doubleList |
protected double[][] |
matrixD |
protected float[][] |
matrixF |
protected double[] |
vectorInD |
protected float[] |
vectorInF |
protected double[] |
vectorOutD |
protected float[] |
vectorOutF |
| Constructor and Description |
|---|
FloatToDoubleBenchmarkSample() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
void |
testDoubleArrayList1(int nIterations) |
void |
testDoubleArrayList2(int nIterations) |
void |
testDoubleArrayPlain(int nIterations) |
void |
testDoubleDataSetNew1(int nIterations,
boolean notify,
boolean lock) |
void |
testDoubleDataSetNew2(int nIterations,
boolean notify,
boolean lock) |
void |
testDoubleDataSetOld1(int nIterations,
boolean notify,
boolean lock) |
void |
testDoubleDataSetOld2(int nIterations,
boolean notify,
boolean lock) |
void |
testDoubleListNative(int nIterations) |
void |
testFloatDataSetNew1(int nIterations,
boolean notify,
boolean lock) |
void |
testFloatDataSetNew2(int nIterations,
boolean notify,
boolean lock) |
void |
testMatrixVectorMultiplicationDouble(int nIterations) |
void |
testMatrixVectorMultiplicationFloat(int nIterations) |
protected double[][] matrixD
protected float[][] matrixF
protected double[] vectorInD
protected float[] vectorInF
protected double[] vectorOutD
protected float[] vectorOutF
protected it.unimi.dsi.fastutil.doubles.DoubleArrayList doubleArrayList
protected double[] doubleArray
protected de.gsi.dataset.spi.DoubleDataSet dataSet1
protected DoubleDataSet dataSet2
protected de.gsi.dataset.spi.FloatDataSet dataSet3
public void testMatrixVectorMultiplicationDouble(int nIterations)
public void testMatrixVectorMultiplicationFloat(int nIterations)
public void testDoubleListNative(int nIterations)
public void testDoubleArrayList1(int nIterations)
public void testDoubleArrayList2(int nIterations)
public void testDoubleArrayPlain(int nIterations)
public void testDoubleDataSetOld1(int nIterations,
boolean notify,
boolean lock)
public void testDoubleDataSetOld2(int nIterations,
boolean notify,
boolean lock)
public void testDoubleDataSetNew1(int nIterations,
boolean notify,
boolean lock)
public void testDoubleDataSetNew2(int nIterations,
boolean notify,
boolean lock)
public void testFloatDataSetNew1(int nIterations,
boolean notify,
boolean lock)
public void testFloatDataSetNew2(int nIterations,
boolean notify,
boolean lock)
public static void main(String[] args)
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.