Added support for --user command line option for the benchmark.

This commit is contained in:
XMRig 2021-04-14 23:43:31 +07:00
parent 6bb29b3e7b
commit 748be760e8
No known key found for this signature in database
GPG key ID: 446A53638BE94409
4 changed files with 13 additions and 3 deletions

View file

@ -334,6 +334,7 @@ void xmrig::BenchClient::send(Request request)
{
doc.AddMember(StringRef(BenchConfig::kSize), m_benchmark->size(), allocator);
doc.AddMember(StringRef(BenchConfig::kAlgo), m_benchmark->algorithm().toJSON(), allocator);
doc.AddMember(StringRef(BenchConfig::kUser), m_benchmark->user().toJSON(), allocator);
doc.AddMember("version", APP_VERSION, allocator);
doc.AddMember("threads", m_threads, allocator);
doc.AddMember("steady_ready_ts", m_readyTime, allocator);