Commit edde0ee6 authored by Quentin Khan's avatar Quentin Khan
Browse files

PerfTest: fix json output

parent 50c8aca7
......@@ -316,19 +316,18 @@ namespace scalfmm {
timers["algo"].tac();
for(auto t : algo->Timers) {
timers[t.first] = t.second;
params.json["run"]["time"]["operator"][t.first] = t.second.cumulated();
}
for(auto t : params.timers) {
params.json["run"]["operator"][t.first] = t.second.cumulated();
params.json["run"]["time"][t.first] = t.second.cumulated();
}
params.json["run"]["total time"] = params.timers["algo"].cumulated();
params.json["config"]["algo"]["name"] = algo->name();
params.json["config"]["algo"]["name"] = params.algo;
params.json["config"]["algo"]["threads"] = params.nbThreads;
params.json["config"]["tree"]["height"] = tree->getHeight();
params.json["config"]["tree"]["particle files"] = {params.filename};
params.json["config"]["kernel"]["name"] = {params.kernel};
params.json["config"]["kernel"]["name"] = params.kernel;
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment