|
GGEMS
1.1
GPU GEant4-based Monte Carlo Simulations
|
Go to the documentation of this file. 1 #ifndef GUARD_GGEMS_TOOLS_GGEMSPROFILERMANAGER_HH
2 #define GUARD_GGEMS_TOOLS_GGEMSPROFILERMANAGER_HH
35 #pragma warning(disable: 4251) // Deleting warning exporting STL members!!!
38 #include <unordered_map>
41 typedef std::unordered_map<std::string, GGEMSProfiler>
ProfilerUMap;
106 void HandleEvent(cl::Event event, std::string
const& profile_name);
112 void PrintSummaryProfile(
void)
const;
144 #endif // End of GUARD_GGEMS_TOOLS_GGEMSPROFILERMANAGER_HH
static GGEMSProfilerManager & GetInstance(void)
Create at first time the Singleton.
GGEMSProfilerManager & operator=(GGEMSProfilerManager const &profiler_manager)=delete
Avoid assignement of the class by reference.
GGEMSProfilerManager * get_instance_profiler_manager(void)
Get the GGEMSProfilerManager pointer for python user.
GGEMS class managing profiler data.
GGEMSProfilerManager & operator=(GGEMSProfilerManager const &&profiler_manager)=delete
Avoid copy of the class by rvalue reference.
void print_summary_profiler_manager(GGEMSProfilerManager *profiler_manager)
Print summary of profiler.
GGEMSProfilerManager(GGEMSProfilerManager const &&profiler_manager)=delete
Avoid copy of the class by rvalue reference.
GGEMSProfilerManager(GGEMSProfilerManager const &profiler_manager)=delete
Avoid copy of the class by reference.
std::unordered_map< std::string, GGEMSProfiler > ProfilerUMap
GGEMS class handling a specific profiler type.