AQUAgpusph 5.0.4
|
Profiler for tools based on OpenCL enqueued commands. More...
#include <Kernel.hpp>
Public Member Functions | |
EventProfile (const std::string name, Tool *tool) | |
~EventProfile () | |
void | start (cl_event event) |
Starting event. | |
void | end (cl_event event) |
Ending event. | |
void | sample () |
Compute the time stamps. | |
Public Member Functions inherited from Aqua::CalcServer::Profile | |
Profile (const std::string name, Tool *tool) | |
Constructor. | |
virtual | ~Profile () |
Destructor. | |
void | step () |
Get the step from the Aqua::CalcServer::CalcServer. | |
Public Member Functions inherited from Aqua::CalcServer::Named | |
Named (const std::string name) | |
~Named () | |
void | name (const std::string tool_name) |
const std::string | name () const |
Get the name. |
Additional Inherited Members | |
Protected Member Functions inherited from Aqua::CalcServer::Profile | |
void | sample (cl_ulong start, cl_ulong end) |
Add profiling info. |
Profiler for tools based on OpenCL enqueued commands.
Constructor
name | The name |
tool | The owning tool |
|
inline |
Destructor
void Aqua::CalcServer::EventProfile::end | ( | cl_event | event | ) |
Ending event.
void Aqua::CalcServer::EventProfile::sample | ( | ) |
Compute the time stamps.
void Aqua::CalcServer::EventProfile::start | ( | cl_event | event | ) |
Starting event.