GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
GGEMS class handling a specific profiler type. More...
#include "GGEMSProfiler.hh"
Public Member Functions | |
GGEMSProfiler (void) | |
GGEMSProfiler constructor. More... | |
~GGEMSProfiler (void) | |
GGEMSProfiler destructor. More... | |
void | HandleEvent (cl::Event event) |
handle an OpenCL event in profile_name type More... | |
DurationNano | GetSummaryTime (void) const |
get elapsed time in ns in OpenCL operation More... | |
Private Member Functions | |
void | AddProfilerItem (cl_event event) |
add new profiler item in profile More... | |
Static Private Member Functions | |
static void | CallBackFunction (cl_event event, GGint event_command_exec_status, void *user_data) |
call back function analyzing event More... | |
Private Attributes | |
GGEMSProfilerItem * | profiler_item_ |
GGEMS class handling a specific profiler type.
Definition at line 40 of file GGEMSProfiler.hh.
GGEMSProfiler::GGEMSProfiler | ( | void | ) |
GGEMSProfiler constructor.
Definition at line 38 of file GGEMSProfiler.cc.
GGEMSProfiler::~GGEMSProfiler | ( | void | ) |
GGEMSProfiler destructor.
Definition at line 48 of file GGEMSProfiler.cc.
|
private |
add new profiler item in profile
event | - event to profile |
Definition at line 76 of file GGEMSProfiler.cc.
|
staticprivate |
call back function analyzing event
event | - OpenCL event |
event_command_exec_status | - status of OpenCL event |
user_data | - adress of GGEMSProfiler object |
Definition at line 60 of file GGEMSProfiler.cc.
|
inline |
get elapsed time in ns in OpenCL operation
Definition at line 65 of file GGEMSProfiler.hh.
void GGEMSProfiler::HandleEvent | ( | cl::Event | event | ) |
handle an OpenCL event in profile_name type
event | - OpenCL event |
Definition at line 90 of file GGEMSProfiler.cc.
|
private |
Buffer storing profiling data of same type
Definition at line 85 of file GGEMSProfiler.hh.