Import Geant4 9.6.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 17:01:34 +02:00
parent b1eb5424d2
commit e2d2f9810a
10384 changed files with 698580 additions and 628834 deletions
+11 -2
View File
@@ -24,8 +24,7 @@
// ********************************************************************
//
//
// $Id: G4Timer.icc,v 1.2 2006-06-29 19:03:17 gunter Exp $
// GEANT4 tag $Name: not supported by cvs2svn $
// $Id$
//
//
// ------------------------------------------------------------
@@ -51,3 +50,13 @@ G4bool G4Timer::IsValid() const
{
return fValidTimes;
}
inline const char* G4Timer::GetClockTime() const
{
time_t rawtime;
struct tm * timeinfo;
time ( &rawtime );
timeinfo = localtime ( &rawtime );
return asctime (timeinfo);
}