Fixed float/double algo_perf support
This commit is contained in:
parent
67d796e7b5
commit
3c907d6bc4
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ void MoBenchmark::read(const rapidjson::Value &value)
|
||||||
LOG_INFO("%s " BRIGHT_BLACK_BG(MAGENTA_BOLD_S " Ignoring wrong name for algo-perf[%s] "), Tags::benchmark(), member.name.GetString());
|
LOG_INFO("%s " BRIGHT_BLACK_BG(MAGENTA_BOLD_S " Ignoring wrong name for algo-perf[%s] "), Tags::benchmark(), member.name.GetString());
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (member.value.IsFloat()) {
|
if (member.value.IsDouble()) {
|
||||||
algo_perf[algo.id()] = member.value.GetFloat();
|
algo_perf[algo.id()] = member.value.GetDouble();
|
||||||
m_isNewBenchRun = false;
|
m_isNewBenchRun = false;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue