diff options
author | Ningsheng Jian <ningsheng.jian@linaro.org> | 2016-10-26 14:08:23 +0800 |
---|---|---|
committer | Ningsheng Jian <ningsheng.jian@linaro.org> | 2016-11-02 04:15:24 +0000 |
commit | 3811e9930ddb1d2b3a1463ad6c876af324331335 (patch) | |
tree | c830624439426317594fa6a9ea077ab10410125a | |
parent | ead42d0823f9921041dbd44882ed2062c0a9f74f (diff) |
Remove MyBenchmark.java and add copyrights.
Change-Id: I0185a94cac7893e54474972dca72d986549b0c3f
12 files changed, 161 insertions, 57 deletions
diff --git a/src/main/java/org/linaro/benchmarks/MyBenchmark.java b/src/main/java/org/linaro/benchmarks/MyBenchmark.java deleted file mode 100644 index ad497c9..0000000 --- a/src/main/java/org/linaro/benchmarks/MyBenchmark.java +++ /dev/null @@ -1,13 +0,0 @@ -package org.linaro.benchmarks; - -import org.openjdk.jmh.annotations.Benchmark; - -public class MyBenchmark { - - @Benchmark - public void testMethod() { - // This is a demo/sample template for building your JMH benchmarks. Edit as needed. - // Put your benchmark code here. - } - -} diff --git a/src/main/java/org/linaro/benchmarks/TestRGBToCmyk.java b/src/main/java/org/linaro/benchmarks/TestRGBToCmyk.java index b9bc897..71a93cd 100644 --- a/src/main/java/org/linaro/benchmarks/TestRGBToCmyk.java +++ b/src/main/java/org/linaro/benchmarks/TestRGBToCmyk.java @@ -1,3 +1,20 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ + package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestReduceAdd.java b/src/main/java/org/linaro/benchmarks/TestReduceAdd.java index 118f185..51e7181 100644 --- a/src/main/java/org/linaro/benchmarks/TestReduceAdd.java +++ b/src/main/java/org/linaro/benchmarks/TestReduceAdd.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestSIMDAdd.java b/src/main/java/org/linaro/benchmarks/TestSIMDAdd.java index c4322c6..264458f 100644 --- a/src/main/java/org/linaro/benchmarks/TestSIMDAdd.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDAdd.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestSIMDCopy.java b/src/main/java/org/linaro/benchmarks/TestSIMDCopy.java index 3afa083..9e9aeee 100644 --- a/src/main/java/org/linaro/benchmarks/TestSIMDCopy.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDCopy.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestSIMDLd2St2.java b/src/main/java/org/linaro/benchmarks/TestSIMDLd2St2.java index 68901ab..59af5c6 100644 --- a/src/main/java/org/linaro/benchmarks/TestSIMDLd2St2.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDLd2St2.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestSIMDLd3St3.java b/src/main/java/org/linaro/benchmarks/TestSIMDLd3St3.java index a691957..c6d41c0 100644 --- a/src/main/java/org/linaro/benchmarks/TestSIMDLd3St3.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDLd3St3.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestSIMDLd4St4.java b/src/main/java/org/linaro/benchmarks/TestSIMDLd4St4.java index fea4808..01b7667 100644 --- a/src/main/java/org/linaro/benchmarks/TestSIMDLd4St4.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDLd4St4.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestSIMDMlaInt.java b/src/main/java/org/linaro/benchmarks/TestSIMDMlaInt.java index ae1bc6f..9532c93 100644 --- a/src/main/java/org/linaro/benchmarks/TestSIMDMlaInt.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDMlaInt.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestSIMDMlaShort.java b/src/main/java/org/linaro/benchmarks/TestSIMDMlaShort.java index 17cf3ce..836595f 100644 --- a/src/main/java/org/linaro/benchmarks/TestSIMDMlaShort.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDMlaShort.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/linaro/benchmarks/TestSIMDMul.java b/src/main/java/org/linaro/benchmarks/TestSIMDMul.java index 0149952..37a16bc 100644 --- a/src/main/java/org/linaro/benchmarks/TestSIMDMul.java +++ b/src/main/java/org/linaro/benchmarks/TestSIMDMul.java @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2016 Linaro Limited. All rights received. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + */ package org.linaro.benchmarks; import org.openjdk.jmh.annotations.*; diff --git a/src/main/java/org/sample/MyBenchmark.java b/src/main/java/org/sample/MyBenchmark.java deleted file mode 100644 index b8a86b3..0000000 --- a/src/main/java/org/sample/MyBenchmark.java +++ /dev/null @@ -1,44 +0,0 @@ -/* - * Copyright (c) 2014, Oracle America, Inc. - * All rights reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions are met: - * - * * Redistributions of source code must retain the above copyright notice, - * this list of conditions and the following disclaimer. - * - * * Redistributions in binary form must reproduce the above copyright - * notice, this list of conditions and the following disclaimer in the - * documentation and/or other materials provided with the distribution. - * - * * Neither the name of Oracle nor the names of its contributors may be used - * to endorse or promote products derived from this software without - * specific prior written permission. - * - * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" - * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE - * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE - * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE - * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR - * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF - * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS - * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN - * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) - * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF - * THE POSSIBILITY OF SUCH DAMAGE. - */ - -package org.sample; - -import org.openjdk.jmh.annotations.Benchmark; - -public class MyBenchmark { - - @Benchmark - public void testMethod() { - // This is a demo/sample template for building your JMH benchmarks. Edit as needed. - // Put your benchmark code here. - } - -} |