Profiler for tools based on scalar solvers.
More...
#include <SetScalar.hpp>
|
void | sample (cl_ulong start, cl_ulong end) |
| Add profiling info.
|
Profiler for tools based on scalar solvers.
◆ ScalarProfile()
Aqua::CalcServer::ScalarProfile::ScalarProfile |
( |
const std::string | name, |
|
|
Tool * | tool ) |
|
inline |
Constructor
- Parameters
-
name | The name |
tool | The owning tool |
◆ ~ScalarProfile()
Aqua::CalcServer::ScalarProfile::~ScalarProfile |
( |
| ) |
|
|
inline |
◆ end()
void Aqua::CalcServer::ScalarProfile::end |
( |
| ) |
|
|
inline |
End sampling.
- Note
- It is expected that start() was already called
◆ start()
void Aqua::CalcServer::ScalarProfile::start |
( |
| ) |
|
|
inline |
Start sampling.
- Note
- It is expected that end() will be called afterwards
The documentation for this class was generated from the following file:
- /home/pepe/SPH/Code/aquagpusph/aquagpusph/CalcServer/SetScalar.hpp