// Copyright (c) 2012-2022 Wojciech Figat. All rights reserved. #pragma once #include "Engine/Core/Types/BaseTypes.h" /// /// Contains information about current memory usage and capacity. /// API_STRUCT() struct MemoryStats { DECLARE_SCRIPTING_TYPE_MINIMAL(MemoryStats); /// /// Total amount of physical memory in bytes. /// API_FIELD() uint64 TotalPhysicalMemory; /// /// Amount of used physical memory in bytes. /// API_FIELD() uint64 UsedPhysicalMemory; /// /// Total amount of virtual memory in bytes. /// API_FIELD() uint64 TotalVirtualMemory; /// /// Amount of used virtual memory in bytes. /// API_FIELD() uint64 UsedVirtualMemory; }; /// /// Contains information about current memory usage by the process. /// API_STRUCT() struct ProcessMemoryStats { DECLARE_SCRIPTING_TYPE_MINIMAL(ProcessMemoryStats); /// /// Amount of used physical memory in bytes. /// API_FIELD() uint64 UsedPhysicalMemory; /// /// Amount of used virtual memory in bytes. /// API_FIELD() uint64 UsedVirtualMemory; };