VR-Link API Documentation for HLA 1.3
 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-2025 MAK Technologies, Inc
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 Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)