AQUAgpusph 5.0.4
|
Runtime outputs name space. More...
Data Structures | |
class | Dump |
Dump an array at any time. More... | |
class | Performance |
On screen performance output. More... | |
class | Report |
Runtime outputs base class. More... | |
class | Screen |
On screen runtime output. More... | |
class | SetTabFile |
Particles set runtime output. More... | |
class | TabFile |
Runtime output file. More... |
Functions | |
void CL_CALLBACK | dumpfile_cb (cl_event event, cl_int event_command_status, void *user_data) |
Callback called when all the variables required by Aqua::CalcServer::Dump have been downloaded. | |
static const std::vector< float > | 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 > | time_units ({ "ns", "μs", "ms", "s", "m", "h" }) |
List of time units. | |
std::tuple< float, std::string > | 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 | 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. | |
void CL_CALLBACK | screenreport_cb (cl_event event, cl_int event_command_status, void *user_data) |
Callback called when all the variables can be read by Aqua::CalcServer::Screen. | |
void CL_CALLBACK | settabfile_cb (cl_event event, cl_int event_command_status, void *user_data) |
Callback called when all the variables required by Aqua::CalcServer::SetTabFile have been downloaded. | |
void CL_CALLBACK | tabfilereport_cb (cl_event event, cl_int event_command_status, void *user_data) |
Callback called when all the variables can be read by Aqua::CalcServer::TabFile. |
Runtime outputs name space.
void CL_CALLBACK Aqua::CalcServer::Reports::dumpfile_cb | ( | cl_event | event, |
cl_int | event_command_status, | ||
void * | user_data ) |
Callback called when all the variables required by Aqua::CalcServer::Dump have been downloaded.
This function is just redirecting the work to Aqua::CalcServer::Dump::print()
event | The triggering event |
event_command_status | CL_COMPLETE upon all dependencies successfully fulfilled. A negative integer if one or mor dependencies failed. |
user_data | A casted pointer to the Aqua::CalcServer::Screen tool (or the inherited one) |
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.
This function is just redirecting the work to Aqua::CalcServer::Performance::print()
event | The triggering event |
event_command_status | CL_COMPLETE upon all dependencies successfully fulfilled. A negative integer if one or mor dependencies failed. |
user_data | A casted pointer to the Aqua::CalcServer::Performance tool (or the inherited one) |
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.
t | Time in nanoseconds |
void CL_CALLBACK Aqua::CalcServer::Reports::screenreport_cb | ( | cl_event | event, |
cl_int | event_command_status, | ||
void * | user_data ) |
Callback called when all the variables can be read by Aqua::CalcServer::Screen.
This function is just redirecting the work to InputOutput::Logger::writeReport() using the Aqua::CalcServer::Report::data() function to extract the information
event | The triggering event |
event_command_status | CL_COMPLETE upon all dependencies successfully fulfilled. A negative integer if one or mor dependencies failed. |
user_data | A casted pointer to the Aqua::CalcServer::Screen tool (or the inherited one) |
void CL_CALLBACK Aqua::CalcServer::Reports::settabfile_cb | ( | cl_event | event, |
cl_int | event_command_status, | ||
void * | user_data ) |
Callback called when all the variables required by Aqua::CalcServer::SetTabFile have been downloaded.
This function is just redirecting the work to Aqua::CalcServer::SetTabFile::print()
event | The triggering event |
event_command_status | CL_COMPLETE upon all dependencies successfully fulfilled. A negative integer if one or mor dependencies failed. |
user_data | A casted pointer to the Aqua::CalcServer::Screen tool (or the inherited one) |
void CL_CALLBACK Aqua::CalcServer::Reports::tabfilereport_cb | ( | cl_event | event, |
cl_int | event_command_status, | ||
void * | user_data ) |
Callback called when all the variables can be read by Aqua::CalcServer::TabFile.
This function is just redirecting the work to Aqua::CalcServer::TabFile::print()
event | The triggering event |
event_command_status | CL_COMPLETE upon all dependencies successfully fulfilled. A negative integer if one or mor dependencies failed. |
user_data | A casted pointer to the Aqua::CalcServer::Screen tool (or the inherited one) |
|
static |
List of time format multipliers.
|
static |
List of time units.