AQUAgpusph 5.0.4
Loading...
Searching...
No Matches
Aqua::CalcServer::EventProfile Class Reference

Profiler for tools based on OpenCL enqueued commands. More...

#include <Kernel.hpp>

Inheritance diagram for Aqua::CalcServer::EventProfile:
Collaboration diagram for Aqua::CalcServer::EventProfile:

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.

Detailed Description

Profiler for tools based on OpenCL enqueued commands.

Constructor & Destructor Documentation

◆ EventProfile()

Aqua::CalcServer::EventProfile::EventProfile ( const std::string name,
Tool * tool )
inline

Constructor

Parameters
nameThe name
toolThe owning tool
Here is the call graph for this function:

◆ ~EventProfile()

Aqua::CalcServer::EventProfile::~EventProfile ( )
inline

Destructor

Member Function Documentation

◆ end()

void Aqua::CalcServer::EventProfile::end ( cl_event event)

Ending event.

Note
It might be the same event passed to start()
Here is the call graph for this function:

◆ sample()

void Aqua::CalcServer::EventProfile::sample ( )

Compute the time stamps.

Here is the call graph for this function:

◆ start()

void Aqua::CalcServer::EventProfile::start ( cl_event event)

Starting event.

Note
It might be the same event passed to end()
Here is the call graph for this function:

The documentation for this class was generated from the following files: