Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 111 of file G4SliceTimer.hh.

Constructor & Destructor Documentation

G4SliceTimer::G4SliceTimer ( )

Definition at line 63 of file G4SliceTimer.cc.

64  : fValidTimes(true), fRealElapsed(0.), fSystemElapsed(0.), fUserElapsed(0.)
65 {
66  Clear();
67 }

Here is the call graph for this function:

Member Function Documentation

void G4SliceTimer::Clear ( )
inline

Here is the caller graph for this function:

G4double G4SliceTimer::GetRealElapsed ( ) const

Definition at line 69 of file G4SliceTimer.cc.

70 {
71  return fRealElapsed/sysconf(_SC_CLK_TCK);
72 }

Here is the caller graph for this function:

G4double G4SliceTimer::GetSystemElapsed ( ) const

Definition at line 74 of file G4SliceTimer.cc.

75 {
76  return fSystemElapsed/sysconf(_SC_CLK_TCK);
77 }

Here is the caller graph for this function:

G4double G4SliceTimer::GetUserElapsed ( ) const

Definition at line 79 of file G4SliceTimer.cc.

80 {
81  return fUserElapsed/sysconf(_SC_CLK_TCK);
82 }

Here is the caller graph for this function:

G4bool G4SliceTimer::IsValid ( ) const
inline

Here is the caller graph for this function:

void G4SliceTimer::Start ( )
inline
void G4SliceTimer::Stop ( )
inline

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