| # Gaudi Framework, version v20r4
Generated: 8 Jan 2009

# Timing.h

Go to the documentation of this file.

    00001 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/Timing.h,v 1.2 2005/07/18 16:34:05 hmd Exp $
    00002 //====================================================================
    00003 //      Timing.h
    00004 //--------------------------------------------------------------------
    00005 //
    00006 //      Package    : Gaudi/System (The LHCb System service)
    00007 //
    00008 //  Description: Definition of Systems internals
    00009 //
    00010 //      Author     : M.Frank
    00011 //  Created    : 13/1/99
    00012 //      Changes    :
    00013 //====================================================================
    00014 #ifndef GAUDIKERNEL_TIMING_H
    00015 #define GAUDIKERNEL_TIMING_H
    00016
    00017 // Framework include files
    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   longlong adjustTime(TimeType typ, longlong timevalue);
    00061   longlong ellapsedTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
    00069   longlong kernelTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
    00077   longlong userTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
    00085   longlong cpuTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
    00093   longlong remainingTime(TimeType typ = milliSec, InfoType fetch = Quota, long pid = -1);
    00101   longlong creationTime(TimeType typ = milliSec, InfoType fetch = Times, long pid = -1);
    00106   longlong systemStart(TimeType typ = Sec);
    00111   longlong upTime(TimeType typ = Hour);
    00116   longlong currentTime(TimeType typ = milliSec);
    00120   longlong tickCount();
    00121 }
    00122 #endif    // GAUDIKERNEL_TIMING_H