VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
vlMemUtil.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *******************************************************************************/
11 #pragma once
12 
13 #include "vlMachineTypes.h"
14 
15 #ifdef DtUSE_UTILITIES_NAMESPACE
16 namespace DtUSE_UTILITIES_NAMESPACE
17 {
18 #endif
19 
22 DT_DLL_VLUTIL unsigned long DtTotalPhysicalMemory();
23 
28 
31 DT_DLL_VLUTIL unsigned long DtPhysicalMemoryUsed();
32 
36 
37 #ifdef _WIN32
38 #define vlMemUtil_inl
39 #include "vlMemUtil.inl"
40 #undef vlMemUtil_inl
41 #endif
42 
43 #ifdef DtUSE_UTILITIES_NAMESPACE
44 }
45 #endif
46 
47 
unsigned long DtTotalPhysicalMemory()
DtTotalPhysicalMemory returns the amount of memory on the system in bytes.
unsigned long DtAvailablePhysicalMemory()
DtAvailablePhysicalMemory returns the amount of physical memory available, in bytes.
double DtPercentageMemoryUsed()
DtPercentageMemoryUsed returns the percentage of physical memory used.
unsigned long DtPhysicalMemoryUsed()
DtPhysicalMemoryUsed returns the amount of physical memory used, in bytes.
This file contains typedefs for machine dependant types.
#define DT_DLL_VLUTIL
Definition: vlMachineTypes.h:109

Document ID: Generated on Mon Apr 25 03:39:01 EDT 2022 from SVN revision 242502
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)