Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4SliceTimer Class Reference

#include <G4SliceTimer.hh>

Public Member Functions

 G4SliceTimer ()
 
void Start ()
 
void Stop ()
 
void Clear ()
 
G4bool IsValid () const
 
G4double GetRealElapsed () const
 
G4double GetSystemElapsed () const
 
G4double GetUserElapsed () const
 

Detailed Description

Definition at line 73 of file G4SliceTimer.hh.

Constructor & Destructor Documentation

◆ G4SliceTimer()

G4SliceTimer::G4SliceTimer ( )

Definition at line 58 of file G4SliceTimer.cc.

58{ Clear(); }

Member Function Documentation

◆ Clear()

void G4SliceTimer::Clear ( )
inline

Referenced by G4SliceTimer().

◆ GetRealElapsed()

G4double G4SliceTimer::GetRealElapsed ( ) const

Definition at line 61 of file G4SliceTimer.cc.

62{
63 return fRealElapsed / sysconf(_SC_CLK_TCK);
64}

Referenced by operator<<().

◆ GetSystemElapsed()

G4double G4SliceTimer::GetSystemElapsed ( ) const

Definition at line 67 of file G4SliceTimer.cc.

68{
69 return fSystemElapsed / sysconf(_SC_CLK_TCK);
70}

Referenced by operator<<().

◆ GetUserElapsed()

G4double G4SliceTimer::GetUserElapsed ( ) const

Definition at line 73 of file G4SliceTimer.cc.

74{
75 return fUserElapsed / sysconf(_SC_CLK_TCK);
76}

Referenced by operator<<().

◆ IsValid()

G4bool G4SliceTimer::IsValid ( ) const
inline

Referenced by operator<<().

◆ Start()

void G4SliceTimer::Start ( )
inline

◆ Stop()

void G4SliceTimer::Stop ( )
inline

The documentation for this class was generated from the following files: