Cat
Timing.h
Go to the documentation of this file.
1 // $Header: /local/reps/Gaudi/GaudiKernel/GaudiKernel/Timing.h,v 1.2 2005/07/18 16:34:05 hmd Exp $
2 //====================================================================
3 // Timing.h
4 //--------------------------------------------------------------------
5 //
6 // Package : Gaudi/System (The LHCb System service)
7 //
8 // Description: Definition of Systems internals
9 //
10 // Author : M.Frank
11 // Created : 13/1/99
12 // Changes :
13 //====================================================================
14 #ifndef GAUDIKERNEL_TIMING_H
15 #define GAUDIKERNEL_TIMING_H
16 
17 // Framework include files
18 #include "Kernel.h"
19 #include "SystemBase.h"
20 
51 namespace System {
55  longlong adjustTime(TimeType typ, longlong timevalue);
61  longlong ellapsedTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
69  longlong kernelTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
77  longlong userTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
85  longlong cpuTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
93  longlong remainingTime(TimeType typ = milliSec, InfoType fetch = Quota, long pid = -1);
101  longlong creationTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
111  longlong upTime(TimeType typ = Hour);
121 }
122 #endif // GAUDIKERNEL_TIMING_H
longlong kernelTime(TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
longlong userTime(TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
TimeType
Time type for conversion.
Definition: Timing.h:53
longlong upTime(TimeType typ=Hour)
longlong ellapsedTime(TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
longlong cpuTime(TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
longlong remainingTime(TimeType typ=milliSec, InfoType fetch=Quota, long pid=-1)
InfoType
Enumeration for fetching information.
Definition: SystemBase.h:18
longlong systemStart(TimeType typ=Sec)
longlong adjustTime(TimeType typ, longlong timevalue)
Convert time from OS native time to requested representation (Experts only)
longlong creationTime(TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
longlong tickCount()
longlong currentTime(TimeType typ=milliSec)