1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-25 05:40:39 -05:00

Added calibrate-algo and calibrate-algo-time save in config file

This commit is contained in:
MoneroOcean
2018-08-04 11:35:37 +02:00
parent 846eca9743
commit c33802280e

View File

@@ -151,6 +151,9 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
}
doc.AddMember("algo-perf", algo_perf, allocator);
doc.AddMember("calibrate-algo", isCalibrateAlgo(), allocator);
doc.AddMember("calibrate-algo-time", calibrateAlgoTime(), allocator);
doc.AddMember("user-agent", userAgent() ? Value(StringRef(userAgent())).Move() : Value(kNullType).Move(), allocator);
# ifdef HAVE_SYSLOG_H