diff options
author | Yang Zhang <yang.zhang@linaro.org> | 2016-09-19 14:59:58 +0800 |
---|---|---|
committer | Ningsheng Jian <ningsheng.jian@linaro.org> | 2016-11-02 12:12:17 +0800 |
commit | c67ddb87c2062f4446d3e6ea21c13937521be7de (patch) | |
tree | c6143bb93f471ce2958272fe0f0e982f1991a0a0 | |
parent | c9b02571a9db10157ef3d8b72ae83055b81302f2 (diff) |
Change the name of files and methods
Change-Id: I14596fc0a534875fa770d3c4aa542f4f36d3f143
-rw-r--r-- | src/main/java/org/linaro/benchmarks/TestSIMDAdd.java (renamed from src/main/java/org/linaro/benchmarks/TestSimdAdd.java) | 7 | ||||
-rw-r--r-- | src/main/java/org/linaro/benchmarks/TestSIMDCopy.java (renamed from src/main/java/org/linaro/benchmarks/TestSimdCopy.java) | 7 | ||||
-rw-r--r-- | src/main/java/org/linaro/benchmarks/TestSIMDMul.java (renamed from src/main/java/org/linaro/benchmarks/TestSimdMul.java) | 7 |
3 files changed, 12 insertions, 9 deletions
diff --git a/src/main/java/org/linaro/benchmarks/TestSimdAdd.java b/src/main/java/org/linaro/benchmarks/TestSIMDAdd.java index 18082d0..c4322c6 100644 --- a/src/main/java/org/linaro/benchmarks/TestSimdAdd.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDAdd.java @@ -7,7 +7,7 @@ import java.util.concurrent.TimeUnit; @OutputTimeUnit(TimeUnit.MICROSECONDS) @State(Scope.Benchmark) -public class TestSimdAdd { +public class TestSIMDAdd { static final int LENGTH = 1024 * 256; static int [] a = new int[LENGTH]; static int [] b = new int[LENGTH]; @@ -18,7 +18,8 @@ public class TestSimdAdd { static byte [] ba = new byte[LENGTH]; static byte [] bb = new byte[LENGTH]; static byte [] bc = new byte[LENGTH]; - public static void TestSimdAddInit() { + + public static void TestSIMDAddInit() { for (int i = 0; i < LENGTH; i++) { a[i] = i + 3; b[i] = i + 2; @@ -53,7 +54,7 @@ public class TestSimdAdd { @Setup public void setup() { - TestSimdAddInit(); + TestSIMDAddInit(); } @Benchmark diff --git a/src/main/java/org/linaro/benchmarks/TestSimdCopy.java b/src/main/java/org/linaro/benchmarks/TestSIMDCopy.java index 43fe27c..3afa083 100644 --- a/src/main/java/org/linaro/benchmarks/TestSimdCopy.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDCopy.java @@ -7,7 +7,7 @@ import java.util.concurrent.TimeUnit; @OutputTimeUnit(TimeUnit.MICROSECONDS) @State(Scope.Benchmark) -public class TestSimdCopy { +public class TestSIMDCopy { static final int LENGTH = 1024 * 256; static int [] a = new int[LENGTH]; static int [] c = new int[LENGTH]; @@ -15,7 +15,8 @@ public class TestSimdCopy { static short [] sc = new short[LENGTH]; static byte [] ba = new byte[LENGTH]; static byte [] bc = new byte[LENGTH]; - public static void TestSimdCopyInit() { + + public static void TestSIMDCopyInit() { for (int i = 0; i < LENGTH; i++) { a[i] = i + 3; c[i] = i + 1; @@ -47,7 +48,7 @@ public class TestSimdCopy { @Setup public void setup() { - TestSimdCopyInit(); + TestSIMDCopyInit(); } @Benchmark diff --git a/src/main/java/org/linaro/benchmarks/TestSimdMul.java b/src/main/java/org/linaro/benchmarks/TestSIMDMul.java index e12b204..0149952 100644 --- a/src/main/java/org/linaro/benchmarks/TestSimdMul.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDMul.java @@ -7,7 +7,7 @@ import java.util.concurrent.TimeUnit; @OutputTimeUnit(TimeUnit.MICROSECONDS) @State(Scope.Benchmark) -public class TestSimdMul { +public class TestSIMDMul { static final int LENGTH = 1024 * 256; static int [] a = new int[LENGTH]; static int [] b = new int[LENGTH]; @@ -18,7 +18,8 @@ public class TestSimdMul { static byte [] ba = new byte[LENGTH]; static byte [] bb = new byte[LENGTH]; static byte [] bc = new byte[LENGTH]; - public static void TestSimdMulInit() { + + public static void TestSIMDMulInit() { for (int i = 0; i < LENGTH; i++) { a[i] = i + 3; b[i] = i + 2; @@ -53,7 +54,7 @@ public class TestSimdMul { @Setup public void setup() { - TestSimdMulInit(); + TestSIMDMulInit(); } @Benchmark |