|
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
Go to the documentation of this file.
40 GGcout(
"GGEMSProfilerManager",
"GGEMSProfilerManager", 3) <<
"GGEMSProfilerManager creating..." <<
GGendl;
44 GGcout(
"GGEMSProfilerManager",
"GGEMSProfilerManager", 3) <<
"GGEMSProfilerManager created!!!" <<
GGendl;
53 GGcout(
"GGEMSProfilerManager",
"~GGEMSProfilerManager", 3) <<
"GGEMSProfilerManager erasing!!!" <<
GGendl;
57 GGcout(
"GGEMSProfilerManager",
"~GGEMSProfilerManager", 3) <<
"GGEMSProfilerManager erased!!!" <<
GGendl;
66 GGcout(
"GGEMSProfilerManager",
"Clean", 3) <<
"GGEMSProfilerManager cleaning..." <<
GGendl;
68 GGcout(
"GGEMSProfilerManager",
"Clean", 3) <<
"GGEMSProfilerManager cleaned!!!" <<
GGendl;
82 profilers_.insert(std::make_pair(profile_name, profiler));
GGEMSProfilerManager * get_instance_profiler_manager(void)
Get the GGEMSProfilerManager pointer for python user.
void print_summary_profiler_manager(GGEMSProfilerManager *profiler_manager)
Print summary of profiler.
void DisplayTime(DurationNano const &duration, std::string const &displayed_text)
Print the execution time.
~GGEMSProfilerManager(void)
Unable the destructor for the user.
static GGEMSProfilerManager & GetInstance(void)
Create at first time the Singleton.
GGEMS class handling a specific profiler type.
GGEMSProfilerManager(void)
Unable the constructor for the user.
GGEMS class managing profiler data.
void PrintSummaryProfile(void) const
print summary profile
void Reset(void)
reset all profile already registered
void Clean(void)
clean OpenCL data
#define GGendl
overload C++ std::endl
Print a custom std::cout end std::cerr handling verbosity.
GGEMS class managing profiler data.
void HandleEvent(cl::Event event, std::string const &profile_name)
handle an OpenCL event in profile_name type