| # Gaudi Framework, version v21r10p1 |

Home |  | Generated: 29 Jul 2010

# 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   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