Added perf algo (PerfAlgo) basic support
This commit is contained in:
parent
c8425e9950
commit
5f73919be1
3 changed files with 65 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
* Copyright 2016 Jay D Dee <jayddee246@gmail.com>
|
||||
* Copyright 2017-2018 XMR-Stak <https://github.com/fireice-uk>, <https://github.com/psychocrypt>
|
||||
* Copyright 2016-2018 XMRig <https://github.com/xmrig>, <support@xmrig.com>
|
||||
* Copyright 2018 MoneroOcean <https://github.com/MoneroOcean>, <support@moneroocean.stream>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -36,6 +37,15 @@ enum Algo {
|
|||
CRYPTONIGHT_HEAVY /* CryptoNight-Heavy (SUMO) */
|
||||
};
|
||||
|
||||
// algorithms that can has different performance
|
||||
enum PerfAlgo {
|
||||
PA_INVALID = -1,
|
||||
PA_CN, /* CryptoNight (Monero) */
|
||||
PA_CN_FAST, /* CryptoNight-Fast (Masari) */
|
||||
PA_CN_LITE, /* CryptoNight-Lite (AEON) */
|
||||
PA_CN_HEAVY, /* CryptoNight-Heavy (SUMO) */
|
||||
PA_MAX
|
||||
};
|
||||
|
||||
//--av=1 For CPUs with hardware AES.
|
||||
//--av=2 Lower power mode (double hash) of 1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue