Added new algo bench
This commit is contained in:
parent
38d9637fbc
commit
2112c75ad1
2 changed files with 6 additions and 0 deletions
|
@ -126,6 +126,8 @@ float Benchmark::get_algo_perf(Algorithm::Id algo) const {
|
||||||
case Algorithm::RX_LOKI: return m_bench_algo_perf[BenchAlgo::RX_LOKI];
|
case Algorithm::RX_LOKI: return m_bench_algo_perf[BenchAlgo::RX_LOKI];
|
||||||
case Algorithm::RX_WOW: return m_bench_algo_perf[BenchAlgo::RX_WOW];
|
case Algorithm::RX_WOW: return m_bench_algo_perf[BenchAlgo::RX_WOW];
|
||||||
case Algorithm::DEFYX: return m_bench_algo_perf[BenchAlgo::DEFYX];
|
case Algorithm::DEFYX: return m_bench_algo_perf[BenchAlgo::DEFYX];
|
||||||
|
case Algorithm::AR2_CHUKWA: return m_bench_algo_perf[BenchAlgo::AR2_CHUKWA];
|
||||||
|
case Algorithm::AR2_WRKZ: return m_bench_algo_perf[BenchAlgo::AR2_WRKZ];
|
||||||
default: return 0.0f;
|
default: return 0.0f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,8 @@ class Job;
|
||||||
class Benchmark : public IJobResultListener {
|
class Benchmark : public IJobResultListener {
|
||||||
|
|
||||||
enum BenchAlgo : int {
|
enum BenchAlgo : int {
|
||||||
|
AR2_CHUKWA, // "argon2/chukwa"
|
||||||
|
AR2_WRKZ, // "argon2/wrkz"
|
||||||
RX_LOKI, // "rx/loki" RandomXL (Loki).
|
RX_LOKI, // "rx/loki" RandomXL (Loki).
|
||||||
RX_WOW, // "rx/wow" RandomWOW (Wownero).
|
RX_WOW, // "rx/wow" RandomWOW (Wownero).
|
||||||
DEFYX, // "defyx DefyX.
|
DEFYX, // "defyx DefyX.
|
||||||
|
@ -44,6 +46,8 @@ class Benchmark : public IJobResultListener {
|
||||||
};
|
};
|
||||||
|
|
||||||
const Algorithm::Id ba2a[BenchAlgo::MAX] = {
|
const Algorithm::Id ba2a[BenchAlgo::MAX] = {
|
||||||
|
Algorithm::AR2_CHUKWA,
|
||||||
|
Algorithm::AR2_WRKZ,
|
||||||
Algorithm::RX_LOKI,
|
Algorithm::RX_LOKI,
|
||||||
Algorithm::RX_WOW,
|
Algorithm::RX_WOW,
|
||||||
Algorithm::DEFYX,
|
Algorithm::DEFYX,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue