Check and save any autosized algos before launching the moBenchmark
This commit is contained in:
parent
b0beffc4f0
commit
50bffd39d8
2 changed files with 4 additions and 0 deletions
|
@ -77,6 +77,7 @@ rapidjson::Value MoBenchmark::toJSON(rapidjson::Document &doc) const
|
|||
Value obj(kObjectType);
|
||||
|
||||
for (const auto &a : m_controller->miner()->algorithms()) {
|
||||
if (algo_perf[a.id()] == 0.0f) continue;
|
||||
obj.AddMember(StringRef(a.shortName()), algo_perf[a.id()], allocator);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue