| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

# Memory.h

Go to the documentation of this file.

    00001 // $Header: /tmp/svngaudi/tmp.jEpFh25751/Gaudi/GaudiKernel/GaudiKernel/Memory.h,v 1.2 2006/12/10 20:29:17 leggett Exp $
    00002 //====================================================================
    00003 //      Memory.h
    00004 //--------------------------------------------------------------------
    00005 //
    00006 //      Package    : System (The LHCb System service)
    00007 //
    00008 //  Description: Information of memory usage from a given process
    00009 //
    00010 //      Author     : M.Frank
    00011 //  Created    : 13/11/00
    00012 //      Changes    :
    00013 //
    00014 //====================================================================
    00015 #ifndef GAUDIKERNEL_MEMORY_H
    00016 #define GAUDIKERNEL_MEMORY_H
    00017
    00018 // Framework include files
    00019 #include "GaudiKernel/Kernel.h"
    00020 #include "GaudiKernel/SystemBase.h"
    00021
    00022
    00055 namespace System    {
    00057   enum MemoryUnit { Byte, kByte, MByte, GByte, TByte, PByte, EByte };
    00059   GAUDI_API long adjustMemory(MemoryUnit typ, long value);
    00061   GAUDI_API long procID();
    00063   GAUDI_API long parentID(InfoType fetch = ProcessBasics, long pid = -1);
    00065   GAUDI_API long affinityMask(InfoType fetch = ProcessBasics, long pid = -1);
    00067   GAUDI_API long exitStatus(InfoType fetch = ProcessBasics, long pid = -1);
    00069   GAUDI_API long basePriority(InfoType fetch = ProcessBasics, long pid = -1);
    00071   GAUDI_API long priorityBoost(InfoType fetch = PriorityBoost, long pid = -1);
    00072
    00074   GAUDI_API long numPageFault(InfoType fetch = Memory, long pid = -1);
    00076   GAUDI_API long pagefileUsage(MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1);
    00078   GAUDI_API long pagefileUsagePeak(MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1);
    00080   GAUDI_API long pagefileUsageLimit(MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1);
    00081
    00083   GAUDI_API long nonPagedMemory( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 );
    00085   GAUDI_API long nonPagedMemoryPeak( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 );
    00087   GAUDI_API long nonPagedMemoryLimit( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 );
    00088
    00090   GAUDI_API long pagedMemory( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 );
    00092   GAUDI_API long pagedMemoryPeak( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 );
    00094   GAUDI_API long pagedMemoryLimit( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 );
    00095
    00097   GAUDI_API long minMemoryLimit( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 );
    00099   GAUDI_API long maxMemoryLimit( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 );
    00101   GAUDI_API long mappedMemory( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 );
    00103   GAUDI_API long mappedMemoryPeak( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 );
    00105   GAUDI_API long virtualMemory( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 );
    00107   GAUDI_API long virtualMemoryPeak( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 );
    00109   GAUDI_API long virtualMemoryLimit( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 );
    00110 }
    00111 #endif //GAUDIKERNEL_MEMORY_H

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines