WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 7197cf34 authored by John Zhang's avatar John Zhang Committed by John Zhang
Browse files

fix some minor errors.

There is a problem with classpath such that javadoc wasn't able to find
`commons.cli` package;
There are also small problems with using angle brackets `<` & `>` that
caused javadoc to complain 'malformed HTML tag'.

After this fix, the remaining errors are all about `@date` and `@id`
tags. These are not supported by javadoc. However they don't pose a
problem to the generated HTML document. So these problems are ignored
for now.
parent 03b84830
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
<!-- include digest --> <!-- include digest -->
<unjar src="${dacapo-digest-jar}" dest="${output-dir}" /> <unjar src="${dacapo-digest-jar}" dest="${output-dir}" />
<javac srcdir="${src}" destdir="${output-dir}" debug="true" debuglevel="lines,vars,source"/> <javac srcdir="${src}" destdir="${output-dir}" debug="true" debuglevel="lines,vars,source"/>
<javadoc sourcepath="${src}" destdir="${output-doc-dir}" /> <javadoc sourcepath="${src}" destdir="${output-doc-dir}" classpath="${output-dir}"/>
</target> </target>
<target name="jar"> <target name="jar">
......
...@@ -153,7 +153,6 @@ public abstract class Benchmark { ...@@ -153,7 +153,6 @@ public abstract class Benchmark {
* *
* @param callback The user-specified timing callback * @param callback The user-specified timing callback
* @param size The size (as given on the command line) * @param size The size (as given on the command line)
* @param timing Is this the timing loop ? Affects how we call the callback.
* @return Whether the run was valid or not. * @return Whether the run was valid or not.
* @throws Exception Whatever exception the target application dies with * @throws Exception Whatever exception the target application dies with
*/ */
...@@ -337,7 +336,7 @@ public abstract class Benchmark { ...@@ -337,7 +336,7 @@ public abstract class Benchmark {
/** /**
* An actual iteration of the benchmark. This is what is timed. * An actual iteration of the benchmark. This is what is timed.
* *
* @param args Arguments to the benchmark * @param size Argument to the benchmark iteration.
*/ */
public abstract void iterate(String size) throws Exception; public abstract void iterate(String size) throws Exception;
...@@ -514,7 +513,7 @@ public abstract class Benchmark { ...@@ -514,7 +513,7 @@ public abstract class Benchmark {
/** /**
* Perform post-iteration cleanup. * Perform post-iteration cleanup.
* *
* @param size * @param size Argument to the benchmark iteration.
*/ */
protected void postIterationCleanup(String size) { protected void postIterationCleanup(String size) {
for (String file : config.getOutputs(size)) { for (String file : config.getOutputs(size)) {
......
...@@ -38,7 +38,6 @@ public class DacapoClassLoader extends URLClassLoader { ...@@ -38,7 +38,6 @@ public class DacapoClassLoader extends URLClassLoader {
* @param scratch The scratch directory (in which the jars will be located) * @param scratch The scratch directory (in which the jars will be located)
* @return The class loader in which this benchmark's iterations should * @return The class loader in which this benchmark's iterations should
* execute. * execute.
* @throws Exception
*/ */
public static DacapoClassLoader create(Config config, File scratch) { public static DacapoClassLoader create(Config config, File scratch) {
DacapoClassLoader rtn = null; DacapoClassLoader rtn = null;
......
...@@ -50,7 +50,7 @@ public class Slice { ...@@ -50,7 +50,7 @@ public class Slice {
/** /**
* Slice a file into a number of sub files. Output in the given directory. * Slice a file into a number of sub files. Output in the given directory.
* Files are called <input-file>.<fraction>.<numerator>.<index> such that file * Files are called {input-file}.{fraction}.{numerator}.{index} such that file
* "x.4.3.1" is the first file, 3/4 of the size of the input file. * "x.4.3.1" is the first file, 3/4 of the size of the input file.
* *
* @param file File to slice * @param file File to slice
......
...@@ -503,7 +503,7 @@ public class Config { ...@@ -503,7 +503,7 @@ public class Config {
* Get the set of output files for a benchmark size * Get the set of output files for a benchmark size
* *
* @param size * @param size
* @return Set\<String\> of file names * @return set of file name strings
*/ */
public Set<String> getOutputs(String size) { public Set<String> getOutputs(String size) {
return Collections.unmodifiableSet(getSize(size).outputFiles.keySet()); return Collections.unmodifiableSet(getSize(size).outputFiles.keySet());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment