Timing.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef GAUDIKERNEL_TIMING_H
00015 #define GAUDIKERNEL_TIMING_H
00016
00017
00018 #include "GaudiKernel/Kernel.h"
00019 #include "GaudiKernel/SystemBase.h"
00020
00051 namespace System {
00053 enum TimeType { Year, Month, Day, Hour, Min, Sec, milliSec, microSec, nanoSec };
00055 GAUDI_API longlong adjustTime(TimeType typ, longlong timevalue);
00061 GAUDI_API longlong ellapsedTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
00069 GAUDI_API longlong kernelTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
00077 GAUDI_API longlong userTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
00085 GAUDI_API longlong cpuTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
00093 GAUDI_API longlong remainingTime(TimeType typ = milliSec, InfoType fetch = Quota, long pid = -1);
00101 GAUDI_API longlong creationTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
00106 GAUDI_API longlong systemStart(TimeType typ = Sec);
00111 GAUDI_API longlong upTime(TimeType typ = Hour);
00116 GAUDI_API longlong currentTime(TimeType typ = milliSec);
00120 GAUDI_API longlong tickCount();
00121 }
00122 #endif // GAUDIKERNEL_TIMING_H