Compounds | |
| struct | System::IO_COUNTERS |
| struct | System::KERNEL_USER_TIMES |
| struct | System::POOLED_USAGE_AND_LIMITS |
| struct | System::PROCESS_BASIC_INFORMATION |
| class | System::ProcessDescriptor |
| class | System::ProcessDescriptor::ProcessHandle |
| struct | System::QUOTA_LIMITS |
| struct | System::VM_COUNTERS |
Typedefs | |
| typedef void* | ImageHandle |
| Definition of an image handle. More... | |
| typedef void* | ProcessHandle |
| Definition of the process handle. More... | |
| typedef unsigned long (* | EntryPoint )(const unsigned long iid, void** ppvObject) |
| Definition of the "generic" DLL entry point function. | |
| typedef void* (* | Creator )() |
| Definition of the "generic" DLL entry point function. | |
| typedef struct _PEB* | PPEB |
| Basic Process Information NtQueryInformationProcess using ProcessBasicInfo. More... | |
Enumerations | |
| enum | MemoryUnit { Byte, kByte, MByte, GByte, TByte, PByte, EByte } |
| Unit of memory. More... | |
| enum | ModuleType { UNKNOWN, SHAREDLIB, EXECUTABLE } |
| enum | InfoType { NoFetch, RemainTime, Times, ProcessBasics, PriorityBoost, Memory, Quota, System, Modules, IO } |
| Enumeration for fetching information. More... | |
| enum | TimeType { Year, Month, Day, Hour, Min, Sec, milliSec, microSec, nanoSec } |
| Time type for conversion. More... | |
| enum | ProcessInfoCommand { ProcessBasicInformation, ProcessQuotaLimits, ProcessIoCounters, ProcessVmCounters, ProcessTimes, ProcessBasePriority, ProcessRaisePriority, ProcessDebugPort, ProcessExceptionPort, ProcessAccessToken, ProcessLdtInformation, ProcessLdtSize, ProcessDefaultHardErrorMode, ProcessIoPortHandlers, ProcessPooledUsageAndLimits, ProcessWorkingSetWatch, ProcessUserModeIOPL, ProcessEnableAlignmentFaultFixup, ProcessPriorityClass, ProcessWx86Information, ProcessHandleCount, ProcessAffinityMask, ProcessPriorityBoost, MaxProcessInfoClass, ProcessEllapsedTime } |
Functions | |
| long | breakExecution () |
| Break the execution of the application and invoke the debugger. More... | |
| long | breakExecution (long pid) |
| Break the execution of the application and invoke the debugger in a remote process. More... | |
| long | adjustMemory (MemoryUnit typ, long value) |
| Convert time from kByte to requested representation (Experts only). More... | |
| long | procID () |
| Basic Process Information: Process ID. More... | |
| long | parentID (InfoType fetch = ProcessBasics, long pid = -1) |
| Basic Process Information: Parent's process ID. More... | |
| long | affinityMask (InfoType fetch = ProcessBasics, long pid = -1) |
| Basic Process Information: Affinity mask. More... | |
| long | exitStatus (InfoType fetch = ProcessBasics, long pid = -1) |
| Basic Process Information: Exit status (does not really make sense for the running process, but for others!). More... | |
| long | basePriority (InfoType fetch = ProcessBasics, long pid = -1) |
| Basic Process Information: Base priority. More... | |
| long | priorityBoost (InfoType fetch = PriorityBoost, long pid = -1) |
| Basic Process Information: priority boost. More... | |
| long | numPageFault (InfoType fetch = Memory, long pid = -1) |
| Basic Process Information: Number of page faults. More... | |
| long | pagefileUsage (MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1) |
| Basic Process Information: Current page file usage. More... | |
| long | pagefileUsagePeak (MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1) |
| Basic Process Information: Peak usage of page file. More... | |
| long | pagefileUsageLimit (MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1) |
| Basic Process Information: Peak usage of page file. More... | |
| long | nonPagedMemory ( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 ) |
| Basic Process Information: Current usage of non paged memory. More... | |
| long | nonPagedMemoryPeak ( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 ) |
| Basic Process Information: Peak usage of non paged memory. More... | |
| long | nonPagedMemoryLimit ( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 ) |
| System Process Limits: Maximum amount of non-paged memory this process is allowed to use. More... | |
| long | pagedMemory ( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 ) |
| Basic Process Information: Amount of paged memory currently occupied by the process 'pid'. More... | |
| long | pagedMemoryPeak ( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 ) |
| Basic Process Information: Maximum of paged memory occupied by the process 'pid'. More... | |
| long | pagedMemoryLimit ( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 ) |
| Basic Process Information: Amount of paged memory that can be occupied by the process 'pid'. More... | |
| long | minMemoryLimit ( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 ) |
| System Process Limits: Minimum amount of virtual memory this process may use. More... | |
| long | maxMemoryLimit ( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 ) |
| System Process Limits: Maximum amount of virtual memory this process is allowed to use. More... | |
| long | mappedMemory ( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 ) |
| Basic Process Information: priority boost. More... | |
| long | mappedMemoryPeak ( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 ) |
| Basic Process Information: priority boost. More... | |
| long | virtualMemory ( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 ) |
| Basic Process Information: priority boost. More... | |
| long | virtualMemoryPeak ( MemoryUnit unit = kByte, InfoType fetch = Memory, long pid = -1 ) |
| Basic Process Information: priority boost. More... | |
| long | virtualMemoryLimit ( MemoryUnit unit = kByte, InfoType fetch = Quota, long pid = -1 ) |
| System Process Limits: Maximum amount of the page file this process is allowed to use. More... | |
| const std::string& | moduleName () |
| Get the name of the (executable/DLL) file without file-type. More... | |
| const std::string& | moduleNameFull () |
| Get the full name of the (executable/DLL) file. More... | |
| const ModuleType | moduleType () |
| Get type of the module. More... | |
| ProcessHandle | processHandle () |
| Handle to running process. More... | |
| ImageHandle | moduleHandle () |
| Handle to currently executed module. More... | |
| ImageHandle | exeHandle () |
| Handle to the executable file running. More... | |
| const std::string& | exeName () |
| Name of the executable file running. More... | |
| const std::vector<std::string> | linkedModules () |
| Vector of names of linked modules. More... | |
| void | setModuleHandle (ImageHandle handle) |
| Attach module handle. More... | |
| unsigned long | loadDynamicLib (const std::string& name, ImageHandle* handle) |
| Load dynamic link library. More... | |
| unsigned long | unloadDynamicLib (ImageHandle handle) |
| unload dynamic link library. More... | |
| unsigned long | getProcedureByName (ImageHandle handle, const std::string& name, EntryPoint* pFunction) |
| Get a specific function defined in the DLL. More... | |
| unsigned long | getProcedureByName (ImageHandle handle, const std::string& name, Creator* pFunction) |
| Get a specific function defined in the DLL. More... | |
| unsigned long | getLastError () |
| Get last system known error. More... | |
| const std::string | getLastErrorString () |
| Get last system error as string. More... | |
| const std::string | getErrorString (unsigned long error) |
| Retrieve error code as string for a given error. More... | |
| const std::string | typeinfoName ( const std::type_info& ) |
| Get platform independent information about the class type. More... | |
| const std::string& | hostName () |
| Host name. More... | |
| const std::string& | accountName () |
| User login name. More... | |
| long | numCmdLineArgs () |
| Number of arguments passed to the commandline. More... | |
| long | argc () |
| Number of arguments passed to the commandline (==numCmdLineArgs()); just to match argv call... More... | |
| const std::vector<std::string> | cmdLineArgs () |
| Command line arguments including executable name as arg[0] as vector of strings. More... | |
| char** | argv () |
| char** command line arguments including executable name as arg[0]; You may not modify them! More... | |
| longlong | adjustTime (TimeType typ, longlong timevalue) |
| Convert time from OS native time to requested representation (Experts only). More... | |
| longlong | ellapsedTime (TimeType typ = milliSec, InfoType fetch = Times, long pid = -1) |
| Ellapsed time since start of process in milli seconds. More... | |
| longlong | kernelTime (TimeType typ = milliSec, InfoType fetch = Times, long pid = -1) |
| CPU kernel mode time of process in milli seconds. More... | |
| longlong | userTime (TimeType typ = milliSec, InfoType fetch = Times, long pid = -1) |
| CPU user mode time of process in milli seconds. More... | |
| longlong | cpuTime (TimeType typ = milliSec, InfoType fetch = Times, long pid = -1) |
| Consumed CPU time of process in milli seconds. More... | |
| longlong | remainingTime (TimeType typ = milliSec, InfoType fetch = Quota, long pid = -1) |
| Maximum processing time left for this process. More... | |
| longlong | creationTime (TimeType typ = milliSec, InfoType fetch = Times, long pid = -1) |
| Process Creation time. More... | |
| longlong | systemStart (TimeType typ = Sec) |
| Maximum processing time left for this process. More... | |
| longlong | upTime (TimeType typ = Hour) |
| Maximum processing time left for this process. More... | |
| longlong | currentTime (TimeType typ = milliSec) |
| Retrieve absolute system time. More... | |
| longlong | tickCount () |
| Retrieve the number of ticks since system startup. More... | |
| ProcessDescriptor* | getProcess () |
| Retrieve Process structure. More... | |
Entrypoints:
|
|
Definition of the "generic" DLL entry point function.
|
|
|
Definition of the "generic" DLL entry point function.
|
|
|
Definition of an image handle.
Definition at line 30 of file ModuleInfo.h. |
|
|
Basic Process Information NtQueryInformationProcess using ProcessBasicInfo.
Definition at line 31 of file ProcessDescriptor.h. |
|
|
Definition of the process handle.
Definition at line 32 of file ModuleInfo.h. |
|
|
Enumeration for fetching information.
Definition at line 18 of file SystemBase.h. |
|
|
Unit of memory.
|
|
|
Definition at line 28 of file ModuleInfo.h. |
|
|
Definition at line 21 of file ProcessDescriptor.cpp. |
|
|
Time type for conversion.
|
|
|
User login name.
Definition at line 391 of file System.cpp. |
|
|
Convert time from kByte to requested representation (Experts only).
Definition at line 35 of file Memory.cpp. Referenced by mappedMemory(), mappedMemoryPeak(), maxMemoryLimit(), minMemoryLimit(), nonPagedMemory(), nonPagedMemoryLimit(), nonPagedMemoryPeak(), pagedMemory(), pagedMemoryLimit(), pagedMemoryPeak(), pagefileUsage(), pagefileUsageLimit(), pagefileUsagePeak(), virtualMemory(), virtualMemoryLimit(), and virtualMemoryPeak(). |
|
|
Convert time from OS native time to requested representation (Experts only).
Definition at line 50 of file Timing.cpp. Referenced by cpuTime(), creationTime(), currentTime(), ellapsedTime(), kernelTime(), remainingTime(), systemStart(), upTime(), and userTime(). |
|
|
Basic Process Information: Affinity mask.
Definition at line 74 of file Memory.cpp. |
|
|
Number of arguments passed to the commandline (==numCmdLineArgs()); just to match argv call...
Definition at line 415 of file System.cpp. |
|
|
char** command line arguments including executable name as arg[0]; You may not modify them!
Definition at line 477 of file System.cpp. |
|
|
Basic Process Information: Base priority.
Definition at line 52 of file Memory.cpp. |
|
|
Break the execution of the application and invoke the debugger in a remote process.
Definition at line 40 of file Debugger.cpp. |
|
|
Break the execution of the application and invoke the debugger.
Definition at line 29 of file Debugger.cpp. |
|
|
Command line arguments including executable name as arg[0] as vector of strings.
Definition at line 420 of file System.cpp. Referenced by argc(), argv(), and numCmdLineArgs(). |
|
|
Consumed CPU time of process in milli seconds.
Definition at line 180 of file Timing.cpp. |
|
|
Process Creation time.
Definition at line 126 of file Timing.cpp. |
|
|
Retrieve absolute system time.
Definition at line 92 of file Timing.cpp. Referenced by ellapsedTime(), systemStart(), and upTime(). |
|
|
Ellapsed time since start of process in milli seconds.
Definition at line 151 of file Timing.cpp. |
|
|
Handle to the executable file running.
Definition at line 151 of file ModuleInfo.cpp. Referenced by exeName(). |
|
|
Name of the executable file running.
Definition at line 186 of file ModuleInfo.cpp. Referenced by cmdLineArgs(). |
|
|
Basic Process Information: Exit status (does not really make sense for the running process, but for others!).
Definition at line 82 of file Memory.cpp. |
|
|
Retrieve error code as string for a given error.
Definition at line 240 of file System.cpp. Referenced by getLastErrorString(). |
|
|
Get last system known error.
Definition at line 225 of file System.cpp. Referenced by getLastErrorString(), getProcedureByName(), and unloadDynamicLib(). |
|
|
Get last system error as string.
Definition at line 234 of file System.cpp. Referenced by getProcedureByName(), and loadDynamicLib(). |
|
|
Get a specific function defined in the DLL.
Definition at line 220 of file System.cpp. |
|
|
Get a specific function defined in the DLL.
Definition at line 188 of file System.cpp. Referenced by Gaudi::getFactory(), getProcedureByName(), and unloadDynamicLib(). |
|
|
Retrieve Process structure.
Definition at line 208 of file ProcessDescriptor.cpp. Referenced by affinityMask(), basePriority(), cpuTime(), creationTime(), ellapsedTime(), exitStatus(), kernelTime(), mappedMemory(), mappedMemoryPeak(), maxMemoryLimit(), minMemoryLimit(), nonPagedMemory(), nonPagedMemoryLimit(), nonPagedMemoryPeak(), numPageFault(), pagedMemory(), pagedMemoryLimit(), pagedMemoryPeak(), pagefileUsage(), pagefileUsageLimit(), pagefileUsagePeak(), parentID(), priorityBoost(), remainingTime(), userTime(), virtualMemory(), virtualMemoryLimit(), and virtualMemoryPeak(). |
|
|
Host name.
Definition at line 374 of file System.cpp. |
|
|
CPU kernel mode time of process in milli seconds.
Definition at line 160 of file Timing.cpp. |
|
|
Vector of names of linked modules.
Definition at line 208 of file ModuleInfo.cpp. |
|
|
Load dynamic link library.
Definition at line 135 of file System.cpp. Referenced by Gaudi::getFactory(). |
|
|
Basic Process Information: priority boost.
Definition at line 181 of file Memory.cpp. |
|
|
Basic Process Information: priority boost.
Definition at line 189 of file Memory.cpp. |
|
|
System Process Limits: Maximum amount of virtual memory this process is allowed to use.
Definition at line 205 of file Memory.cpp. |
|
|
System Process Limits: Minimum amount of virtual memory this process may use.
Definition at line 197 of file Memory.cpp. |
|
|
Handle to currently executed module.
Definition at line 127 of file ModuleInfo.cpp. Referenced by moduleName(), and moduleNameFull(). |
|
|
Get the name of the (executable/DLL) file without file-type.
Definition at line 46 of file ModuleInfo.cpp. |
|
|
Get the full name of the (executable/DLL) file.
Definition at line 69 of file ModuleInfo.cpp. Referenced by moduleType(). |
|
|
Get type of the module.
Definition at line 91 of file ModuleInfo.cpp. |
|
|
Basic Process Information: Current usage of non paged memory.
Definition at line 106 of file Memory.cpp. |
|
|
System Process Limits: Maximum amount of non-paged memory this process is allowed to use.
Definition at line 114 of file Memory.cpp. |
|
|
Basic Process Information: Peak usage of non paged memory.
Definition at line 98 of file Memory.cpp. |
|
|
Number of arguments passed to the commandline.
Definition at line 410 of file System.cpp. |
|
|
Basic Process Information: Number of page faults.
Definition at line 146 of file Memory.cpp. |
|
|
Basic Process Information: Amount of paged memory currently occupied by the process 'pid'.
Definition at line 122 of file Memory.cpp. |
|
|
Basic Process Information: Amount of paged memory that can be occupied by the process 'pid'.
Definition at line 138 of file Memory.cpp. |
|
|
Basic Process Information: Maximum of paged memory occupied by the process 'pid'.
Definition at line 130 of file Memory.cpp. |
|
|
Basic Process Information: Current page file usage.
Definition at line 154 of file Memory.cpp. |
|
|
Basic Process Information: Peak usage of page file.
Definition at line 170 of file Memory.cpp. |
|
|
Basic Process Information: Peak usage of page file.
Definition at line 162 of file Memory.cpp. |
|
|
Basic Process Information: Parent's process ID.
Definition at line 66 of file Memory.cpp. |
|
|
Basic Process Information: priority boost.
Definition at line 90 of file Memory.cpp. |
|
|
Basic Process Information: Process ID.
Definition at line 60 of file Memory.cpp. |
|
|
Handle to running process.
Definition at line 113 of file ModuleInfo.cpp. Referenced by System::ProcessDescriptor::ProcessHandle::ProcessHandle(), exeHandle(), exeName(), linkedModules(), moduleHandle(), moduleName(), and moduleNameFull(). |
|
|
Maximum processing time left for this process.
Definition at line 136 of file Timing.cpp. |
|
|
Attach module handle.
Definition at line 123 of file ModuleInfo.cpp. |
|
|
Maximum processing time left for this process.
Definition at line 109 of file Timing.cpp. Referenced by upTime(). |
|
|
Retrieve the number of ticks since system startup.
Definition at line 79 of file Timing.cpp. Referenced by systemStart(). |
|
|
Get platform independent information about the class type.
Definition at line 338 of file System.cpp. Referenced by AlgFactory::AlgFactory(), AudFactory::AudFactory(), SvcFactory::SvcFactory(), ToolFactory::ToolFactory(), ConversionSvc::createReps(), DataTypeInfo::name(), ObjectFactoryBase::setTypeName(), NTuple::_DataImp::typeName(), and CnvFactoryBase::typeName(). |
|
|
unload dynamic link library.
Definition at line 164 of file System.cpp. |
|
|
Maximum processing time left for this process.
Definition at line 120 of file Timing.cpp. |
|
|
CPU user mode time of process in milli seconds.
Definition at line 170 of file Timing.cpp. |
|
|
Basic Process Information: priority boost.
Definition at line 213 of file Memory.cpp. |
|
|
System Process Limits: Maximum amount of the page file this process is allowed to use.
Definition at line 229 of file Memory.cpp. |
|
|
Basic Process Information: priority boost.
Definition at line 221 of file Memory.cpp. |
1.2.3 written by Dimitri van Heesch,
© 1997-2000