Moved from PerfAlgo to Algo in threads to removed not really used cn-fast threads setup

This commit is contained in:
MoneroOcean 2018-08-06 10:40:55 +02:00
parent 0f880db56f
commit 67ed81f1ec
5 changed files with 45 additions and 44 deletions

View file

@ -44,7 +44,7 @@ public:
m_variant(VARIANT_AUTO)
{}
inline Algorithm(Algo algo, Variant variant) :
inline Algorithm(Algo algo, Variant variant = VARIANT_AUTO) :
m_variant(variant)
{
setAlgo(algo);

View file

@ -34,7 +34,8 @@ enum Algo {
INVALID_ALGO = -1,
CRYPTONIGHT, /* CryptoNight (Monero) */
CRYPTONIGHT_LITE, /* CryptoNight-Lite (AEON) */
CRYPTONIGHT_HEAVY /* CryptoNight-Heavy (SUMO) */
CRYPTONIGHT_HEAVY, /* CryptoNight-Heavy (SUMO) */
ALGO_MAX
};
// algorithms that can has different performance