ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
G4UA::TestActionTimer::Report Struct Reference

this holds all the data from individual threads that needs to be merged at EoR More...

#include <TestActionTimer.h>

Collaboration diagram for G4UA::TestActionTimer::Report:

Public Member Functions

void merge (const Report &rep)
 

Public Attributes

int nev =0
 
std::vector< double > time
 Vector of timers for each of the enum. More...
 
std::vector< std::string > timeName
 Vector of names for each of the timers. More...
 
double runTime =0
 

Detailed Description

this holds all the data from individual threads that needs to be merged at EoR

Definition at line 64 of file TestActionTimer.h.

Member Function Documentation

◆ merge()

void G4UA::TestActionTimer::Report::merge ( const Report rep)
inline

Definition at line 70 of file TestActionTimer.h.

70  {
71  nev+=rep.nev;
72  runTime+=rep.runTime;
73  // copy first report
74  if(time.empty()){
75  time=rep.time;
76  timeName=rep.timeName;
77  return;
78  }
79  // sum the following ones
80  for(unsigned int i=0;i<time.size();++i)
81  time[i]+=rep.time[i];
82  }

Member Data Documentation

◆ nev

int G4UA::TestActionTimer::Report::nev =0

Definition at line 66 of file TestActionTimer.h.

◆ runTime

double G4UA::TestActionTimer::Report::runTime =0

Definition at line 69 of file TestActionTimer.h.

◆ time

std::vector<double> G4UA::TestActionTimer::Report::time

Vector of timers for each of the enum.

Definition at line 67 of file TestActionTimer.h.

◆ timeName

std::vector<std::string> G4UA::TestActionTimer::Report::timeName

Vector of names for each of the timers.

Definition at line 68 of file TestActionTimer.h.


The documentation for this struct was generated from the following file:
G4UA::TestActionTimer::Report::time
std::vector< double > time
Vector of timers for each of the enum.
Definition: TestActionTimer.h:67
G4UA::TestActionTimer::Report::nev
int nev
Definition: TestActionTimer.h:66
make_hlt_rep.rep
rep
Definition: make_hlt_rep.py:32
lumiFormat.i
int i
Definition: lumiFormat.py:85
G4UA::TestActionTimer::Report::runTime
double runTime
Definition: TestActionTimer.h:69
G4UA::TestActionTimer::Report::timeName
std::vector< std::string > timeName
Vector of names for each of the timers.
Definition: TestActionTimer.h:68