39#ifndef G4SLICE_TIMER_HH
40#define G4SLICE_TIMER_HH 1
43# include <sys/times.h>
66 extern clock_t times(
struct tms*);
95 clock_t fStartRealTime, fEndRealTime;
97 tms fStartTimes, fEndTimes;
100 G4double fRealElapsed = 0.0, fSystemElapsed = 0.0, fUserElapsed = 0.0;
102 G4bool fValidTimes =
true;
111#include "G4SliceTimer.icc"
std::ostream & operator<<(std::ostream &os, const G4SliceTimer &t)
G4double GetUserElapsed() const
G4double GetSystemElapsed() const
G4double GetRealElapsed() const