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

Profiler subinstance base class. More...

#include <Tool.hpp>

Inheritance diagram for Aqua::CalcServer::Profile:
Collaboration diagram for Aqua::CalcServer::Profile:

Public Member Functions

 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.

Protected Member Functions

void sample (cl_ulong start, cl_ulong end)
 Add profiling info.

Detailed Description

Profiler subinstance base class.

Constructor & Destructor Documentation

◆ Profile()

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

Constructor.

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

◆ ~Profile()

virtual Aqua::CalcServer::Profile::~Profile ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ sample()

void Aqua::CalcServer::Profile::sample ( cl_ulong start,
cl_ulong end )
protected

Add profiling info.

Parameters
startStarting timestamp
endEnding timestamp
Here is the call graph for this function:

◆ step()

void Aqua::CalcServer::Profile::step ( )

Get the step from the Aqua::CalcServer::CalcServer.

Here is the call graph for this function:

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