#include <G4Timer.hh>
Definition at line 110 of file G4Timer.hh.
const char* G4Timer::GetClockTime |
( |
| ) |
const |
|
inline |
G4double G4Timer::GetRealElapsed |
( |
| ) |
const |
Definition at line 107 of file G4Timer.cc.
111 G4Exception(
"G4Timer::GetRealElapsed()",
"InvalidCondition",
114 G4double diff=fEndRealTime-fStartRealTime;
115 return diff/sysconf(_SC_CLK_TCK);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double G4Timer::GetSystemElapsed |
( |
| ) |
const |
Definition at line 119 of file G4Timer.cc.
123 G4Exception(
"G4Timer::GetSystemElapsed()",
"InvalidCondition",
126 G4double diff=fEndTimes.tms_stime-fStartTimes.tms_stime;
127 return diff/sysconf(_SC_CLK_TCK);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4double G4Timer::GetUserElapsed |
( |
| ) |
const |
Definition at line 130 of file G4Timer.cc.
134 G4Exception(
"G4Timer::GetUserElapsed()",
"InvalidCondition",
137 G4double diff=fEndTimes.tms_utime-fStartTimes.tms_utime;
138 return diff/sysconf(_SC_CLK_TCK);
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
G4bool G4Timer::IsValid |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files:
- geant4.10.03.p01/source/global/management/include/G4Timer.hh
- geant4.10.03.p01/source/global/management/src/G4Timer.cc