Add SystemInfo class

This commit is contained in:
2021-08-01 17:20:35 +02:00
parent 87dad42c79
commit 2829c02762
5 changed files with 279 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include <cstddef>
namespace openVulkanoCpp
{
class SystemInfo
{
public:
static size_t GetSystemRam();
static size_t GetSystemRamAvailable();
static size_t GetAppRamMax();
static size_t GetAppVirtualMemoryMax();
static size_t GetAppRamAvailable();
static size_t GetAppRamUsed();
};
}