G4Timer.hh File Reference

#include <unistd.h>
#include <sys/times.h>
#include "G4Types.hh"
#include "G4ios.hh"
#include "G4Timer.icc"

Go to the source code of this file.

Data Structures

class  G4Timer

Defines

#define times   ostimes

Functions

std::ostream & operator<< (std::ostream &os, const G4Timer &t)


Define Documentation

#define times   ostimes

Definition at line 135 of file G4Timer.hh.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const G4Timer t 
)

Definition at line 87 of file G4Timer.cc.

00088 {
00089     if (t.IsValid())
00090         {
00091             os << "User=" << t.GetUserElapsed()
00092                << "s Real=" << t.GetRealElapsed()
00093                << "s Sys=" << t.GetSystemElapsed() << "s";
00094         }
00095     else
00096         {
00097             os << "User=****s Real=****s Sys=****s";
00098         }
00099     return os;
00100 }


Generated on Mon May 27 17:51:11 2013 for Geant4 by  doxygen 1.4.7