The Gaudi Framework  v29r0 (ff2e7097)
Timing.h File Reference
#include "GaudiKernel/Kernel.h"
#include "GaudiKernel/SystemBase.h"
#include <sys/time.h>
Include dependency graph for Timing.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  System::ProcessTime
 Simple class to hold the time information of a process. More...
 

Namespaces

 System
 Note: OS specific details for environment resolution.
 

Enumerations

enum  System::TimeType {
  System::Year, System::Month, System::Day, System::Hour,
  System::Min, System::Sec, System::milliSec, System::microSec,
  System::nanoSec, System::Native
}
 Time type for conversion. More...
 

Functions

GAUDI_API longlong System::adjustTime (TimeType typ, longlong timevalue)
 Convert time from OS native time to requested representation (Experts only) More...
 
template<TimeType T>
long long System::adjustTime (long long timevalue)
 Convert the time from OS native time to requested representation (Experts only) More...
 
GAUDI_API longlong System::ellapsedTime (TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
 Elapsed time since start of process in milliseconds. More...
 
GAUDI_API longlong System::kernelTime (TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
 CPU kernel mode time of process in milliseconds. More...
 
GAUDI_API longlong System::userTime (TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
 CPU user mode time of process in milliseconds. More...
 
GAUDI_API longlong System::cpuTime (TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
 Consumed CPU time of process in milliseconds. More...
 
GAUDI_API longlong System::remainingTime (TimeType typ=milliSec, InfoType fetch=Quota, long pid=-1)
 Maximum processing time left for this process. More...
 
GAUDI_API longlong System::creationTime (TimeType typ=milliSec, InfoType fetch=Times, long pid=-1)
 Process Creation time. More...
 
GAUDI_API longlong System::systemStart (TimeType typ=Sec)
 Maximum processing time left for this process. More...
 
GAUDI_API longlong System::upTime (TimeType typ=Hour)
 Maximum processing time left for this process. More...
 
template<TimeType T>
GAUDI_API longlong System::currentTime ()
 Retrieve absolute system time. More...
 
GAUDI_API longlong System::currentTime (TimeType typ=milliSec)
 Get current time in specificed units. More...
 
GAUDI_API longlong System::tickCount ()
 Retrieve the number of ticks since system startup. More...
 
GAUDI_API ProcessTime System::getProcessTime (long pid=-1)
 Retrieve the process time data for a process. More...
 
template<>
long long System::adjustTime< Year > (long long t)
 
template<>
long long System::adjustTime< Day > (long long t)
 
template<>
long long System::adjustTime< Hour > (long long t)
 
template<>
long long System::adjustTime< Min > (long long t)
 
template<>
long long System::adjustTime< Sec > (long long t)
 
template<>
long long System::adjustTime< milliSec > (long long t)
 
template<>
long long System::adjustTime< microSec > (long long t)
 
template<>
long long System::adjustTime< nanoSec > (long long t)
 
template<>
long long System::adjustTime< Month > (long long t)
 
template<>
long long System::adjustTime< Native > (long long t)
 
template<TimeType T>
longlong System::currentTime ()
 Retrieve absolute system time. More...
 
template longlong System::currentTime< Year > ()
 
template longlong System::currentTime< Month > ()
 
template longlong System::currentTime< Day > ()
 
template longlong System::currentTime< Hour > ()
 
template longlong System::currentTime< Min > ()
 
template longlong System::currentTime< Sec > ()
 
template longlong System::currentTime< milliSec > ()
 
template longlong System::currentTime< microSec > ()
 
template longlong System::currentTime< nanoSec > ()
 
template longlong System::currentTime< Native > ()