Geant4
10.02
|
#include <G4Timer.hh>
Public Member Functions | |
G4Timer () | |
void | Start () |
void | Stop () |
G4bool | IsValid () const |
const char * | GetClockTime () const |
G4double | GetRealElapsed () const |
G4double | GetSystemElapsed () const |
G4double | GetUserElapsed () const |
Private Attributes | |
G4bool | fValidTimes |
clock_t | fStartRealTime |
clock_t | fEndRealTime |
tms | fStartTimes |
tms | fEndTimes |
Definition at line 110 of file G4Timer.hh.
G4Timer::G4Timer | ( | ) |
Definition at line 102 of file G4Timer.cc.
|
inline |
G4double G4Timer::GetRealElapsed | ( | ) | const |
Definition at line 107 of file G4Timer.cc.
References FatalException, fEndRealTime, fStartRealTime, fValidTimes, and G4Exception().
Referenced by RMC01AnalysisManager::EndOfEvent(), ExGflashEventAction::EndOfEventAction(), export_G4Timer(), main(), and operator<<().
G4double G4Timer::GetSystemElapsed | ( | ) | const |
Definition at line 119 of file G4Timer.cc.
References FatalException, fEndTimes, fStartTimes, fValidTimes, and G4Exception().
Referenced by G4ConvergenceTester::AddScore(), G4GeometryManager::BuildOptimisations(), ExGflashEventAction::EndOfEventAction(), export_G4Timer(), main(), operator<<(), and G4RunManager::ReOptimize().
G4double G4Timer::GetUserElapsed | ( | ) | const |
Definition at line 130 of file G4Timer.cc.
References FatalException, fEndTimes, fStartTimes, fValidTimes, and G4Exception().
Referenced by G4ConvergenceTester::AddScore(), G4VXTRenergyLoss::BuildAngleForEnergyBank(), G4VXTRenergyLoss::BuildAngleTable(), G4VXTRenergyLoss::BuildEnergyTable(), G4VXTRenergyLoss::BuildGlobalAngleTable(), G4GeometryManager::BuildOptimisations(), ExGflashEventAction::EndOfEventAction(), CML2RunAction::EndOfRunAction(), export_G4Timer(), main(), operator<<(), G4RunManager::ReOptimize(), F03PhysicsList::SetCuts(), F01PhysicsList::SetCuts(), and F02PhysicsList::SetCuts().
|
inline |
|
inline |
Referenced by ExGflashEventAction::BeginOfEventAction(), RMC01AnalysisManager::BeginOfRun(), eRositaRunAction::BeginOfRunAction(), OpNoviceRunAction::BeginOfRunAction(), GammaKnifeRunAction::BeginOfRunAction(), CML2RunAction::BeginOfRunAction(), G4VXTRenergyLoss::BuildAngleForEnergyBank(), G4VXTRenergyLoss::BuildAngleTable(), G4VXTRenergyLoss::BuildEnergyTable(), G4VXTRenergyLoss::BuildGlobalAngleTable(), G4GeometryManager::BuildOptimisations(), CCalDetectorConstruction::Construct(), CexmcRunManager::DoEventLoop(), RMC01AnalysisManager::EndOfEvent(), export_G4Timer(), G4ConvergenceTester::G4ConvergenceTester(), G4MTRunManager::InitializeEventLoop(), G4RunManager::InitializeEventLoop(), main(), CCalG4Able::PhysicalVolume(), G4Scheduler::Process(), G4RunManager::ReOptimize(), F02PhysicsList::SetCuts(), F03PhysicsList::SetCuts(), F01PhysicsList::SetCuts(), and G4ProductionCutsTable::UpdateCoupleTable().
|
inline |
Referenced by G4ConvergenceTester::AddScore(), G4VXTRenergyLoss::BuildAngleForEnergyBank(), G4VXTRenergyLoss::BuildAngleTable(), G4VXTRenergyLoss::BuildEnergyTable(), G4VXTRenergyLoss::BuildGlobalAngleTable(), G4GeometryManager::BuildOptimisations(), CCalDetectorConstruction::Construct(), CexmcRunManager::DoEventLoop(), RMC01AnalysisManager::EndOfEvent(), ExGflashEventAction::EndOfEventAction(), RMC01AnalysisManager::EndOfRun(), eRositaRunAction::EndOfRunAction(), OpNoviceRunAction::EndOfRunAction(), GammaKnifeRunAction::EndOfRunAction(), CML2RunAction::EndOfRunAction(), export_G4Timer(), main(), CCalG4Able::PhysicalVolume(), G4Scheduler::Process(), G4RunManager::ReOptimize(), F01PhysicsList::SetCuts(), F03PhysicsList::SetCuts(), F02PhysicsList::SetCuts(), G4WorkerRunManager::TerminateEventLoop(), G4RunManager::TerminateEventLoop(), and G4ProductionCutsTable::UpdateCoupleTable().
|
private |
Definition at line 127 of file G4Timer.hh.
Referenced by GetRealElapsed().
|
private |
Definition at line 128 of file G4Timer.hh.
Referenced by GetSystemElapsed(), and GetUserElapsed().
|
private |
Definition at line 127 of file G4Timer.hh.
Referenced by GetRealElapsed().
|
private |
Definition at line 128 of file G4Timer.hh.
Referenced by GetSystemElapsed(), and GetUserElapsed().
|
private |
Definition at line 126 of file G4Timer.hh.
Referenced by GetRealElapsed(), GetSystemElapsed(), and GetUserElapsed().