GGEMS  1.1
GPU GEant4-based Monte Carlo Simulations
GGEMSProfilerManager.hh File Reference

GGEMS class managing profiler data. More...

#include <unordered_map>
#include "GGEMS/tools/GGEMSProfiler.hh"
Include dependency graph for GGEMSProfilerManager.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GGEMSProfilerManager
 GGEMS class managing profiler data. More...
 

Typedefs

typedef std::unordered_map< std::string, GGEMSProfilerProfilerUMap
 

Functions

GGEMSProfilerManagerget_instance_profiler_manager (void)
 Get the GGEMSProfilerManager pointer for python user. More...
 
void print_summary_profiler_manager (GGEMSProfilerManager *profiler_manager)
 Print summary of profiler. More...
 

Detailed Description

GGEMS class managing profiler data.

Author
Julien BERT julie.nosp@m.n.be.nosp@m.rt@un.nosp@m.iv-b.nosp@m.rest..nosp@m.fr
Didier BENOIT didie.nosp@m.r.be.nosp@m.noit@.nosp@m.inse.nosp@m.rm.fr
LaTIM, INSERM - U1101, Brest, FRANCE
Version
1.0
Date
Tuesday March 16, 2021

Definition in file GGEMSProfilerManager.hh.

Typedef Documentation

◆ ProfilerUMap

typedef std::unordered_map<std::string, GGEMSProfiler> ProfilerUMap

Unordered map with key : name of profile, profile object

Definition at line 41 of file GGEMSProfilerManager.hh.

Function Documentation

◆ get_instance_profiler_manager()

GGEMSProfilerManager * get_instance_profiler_manager ( void  )

Get the GGEMSProfilerManager pointer for python user.

Returns
the pointer on the singleton

Definition at line 113 of file GGEMSProfilerManager.cc.

◆ print_summary_profiler_manager()

void print_summary_profiler_manager ( GGEMSProfilerManager profiler_manager)

Print summary of profiler.

Parameters
profiler_manager- pointer on the singleton

Definition at line 122 of file GGEMSProfilerManager.cc.