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

Profiler for tools based on scalar solvers. More...

#include <SetScalar.hpp>

Inheritance diagram for Aqua::CalcServer::ScalarProfile:
Collaboration diagram for Aqua::CalcServer::ScalarProfile:

Public Member Functions

 ScalarProfile (const std::string name, Tool *tool)
 ~ScalarProfile ()
void start ()
 Start sampling.
void end ()
 End sampling.
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 scalar solvers.

Constructor & Destructor Documentation

◆ ScalarProfile()

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

Constructor

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

◆ ~ScalarProfile()

Aqua::CalcServer::ScalarProfile::~ScalarProfile ( )
inline

Destructor

Member Function Documentation

◆ end()

void Aqua::CalcServer::ScalarProfile::end ( )
inline

End sampling.

Note
It is expected that start() was already called
Here is the call graph for this function:

◆ start()

void Aqua::CalcServer::ScalarProfile::start ( )
inline

Start sampling.

Note
It is expected that end() will be called afterwards
Here is the call graph for this function:

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