Performance report. (See Aqua::CalcServer::Reports::Performance for details)
More...
#include <algorithm>
#include <iomanip>
#include "aquagpusph/AuxiliarMethods.hpp"
#include "aquagpusph/InputOutput/Logger.hpp"
#include "aquagpusph/CalcServer/CalcServer.hpp"
#include "Performance.hpp"
#include <nlohmann/json.hpp>
|
using | json = nlohmann::json |
|
static const std::vector< float > | Aqua::CalcServer::Reports::time_mults ({ 1.0, 1.e-3, 1.e-6, 1.e-9, 1.e-9/60, 1.e-9/3600 }) |
| List of time format multipliers.
|
static const std::vector< std::string > | Aqua::CalcServer::Reports::time_units ({ "ns", "μs", "ms", "s", "m", "h" }) |
| List of time units.
|
std::tuple< float, std::string > | Aqua::CalcServer::Reports::reformat_nanosec (float t) |
| Reformat the time in nanoseconds as the best possible alternative between nanoseconds, microseconds, milliseconds, seconds minutes or hours.
|
void CL_CALLBACK | Aqua::CalcServer::Reports::performance_cb (cl_event event, cl_int event_command_status, void *user_data) |
| Callback called when all the commands prior to Aqua::CalcServer::Performance are completed.
|
Performance report. (See Aqua::CalcServer::Reports::Performance for details)
◆ json
using json = nlohmann::json |