#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 times ostimes |
Definition at line 135 of file G4Timer.hh.
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 }