我正在尝试使用适当的基准 Java 类(cnf.files)加载我的 java Harness 类(DaCapo Benchmark 套件)。在 Windows 中,命令“java Harness 工作得非常好。但是,由于我是 Linux 新手,当我尝试加载我的 java 线束类时,我会收到消息“未知基准”。请注意,“java Harness -l”显示所有可用的基准这个 java Harness 类的。
您知道如何像在 Windows 中那样加载我的 java Harness 类吗?
-s,--size <SIZE> Size of input data
--scratch-directory <dir> Specify an alternate scratch
directory <dir>
-t,--thread-count <thread_count> Set the thread count to drive the
workload (mutually exclusive -k)
-v,--verbose Verbose output
--validation-report <report_file> Report digests, line counts etc
--variance <pct> Target coefficient of variation
<pct> (default 3.0)
--window <window> Measure variance over <window>
runs (default 3)
spyros@spyros-G41M-Combo:~/workspace/SpyDacaPo$ java Harness -l
/home/spyros/workspace/SpyDacaPo/cnf/HelloWorld /home/spyros/workspace/SpyDacaPo/cnf/binarytrees /home/spyros/workspace/SpyDacaPo/cnf/fannkuchredux /home/spyros/workspace/SpyDacaPo/cnf/fastaredux /home/spyros/workspace/SpyDacaPo/cnf/foo /home/spyros/workspace/SpyDacaPo/cnf/mandelbrot /home/spyros/workspace/SpyDacaPo/cnf/meteor /home/spyros/workspace/SpyDacaPo/cnf/nbody /home/spyros/workspace/SpyDacaPo/cnf/pidigits /home/spyros/workspace/SpyDacaPo/cnf/regexdna /home/spyros/workspace/SpyDacaPo/cnf/revcomp
spyros@spyros-G41M-Combo:~/workspace/SpyDacaPo$ java Harness HelloWorld
Unknown benchmark: HelloWorld
spyros@spyros-G41M-Combo:~/workspace/SpyDacaPo$