The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
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

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