42 : nTimers(0),regIdx(-1),ep(false)
47 for(
G4int j=0;j<nTimers;j++)
48 {
delete fTimers[j]; }
55 nRegions = regionStore->size();
56 nTimers = 2 * nRegions;
57 G4int nEnt = fTimers.size();
60 for(
G4int i=nEnt;i<nTimers;i++)
63 for(
G4int j=0;j<nTimers;j++)
64 { fTimers[j]->Clear(); }
77 for(
G4int i=0;i<nRegions;i++)
81 G4cout <<
" All particles : User=" << fTimers[i]->GetUserElapsed()
82 <<
" Real=" << fTimers[i]->GetRealElapsed()
83 <<
" Sys=" << fTimers[i]->GetSystemElapsed() <<
G4endl;
84 G4cout <<
" e+ / e- : User=" << fTimers[nRegions+i]->GetUserElapsed()
85 <<
" Real=" << fTimers[nRegions+i]->GetRealElapsed()
86 <<
" Sys=" << fTimers[nRegions+i]->GetSystemElapsed() <<
G4endl;
95 regIdx = FindRegion(reg);
96 fTimers[regIdx]->Start();
99 if(ep) fTimers[nRegions+regIdx]->Start();
104 fTimers[regIdx]->Stop();
107 fTimers[nRegions+regIdx]->Stop();
116 G4int sz = regionStore->size();
117 for(
G4int i=0;i<sz;i++)
118 {
if(rgn==(*regionStore)[i])
return i; }