/
BirdLeon
/
ROBLOX2016
Обзор
Документация
Войти
/
BirdLeon
/
ROBLOX2016
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
Base/include/rbx/SystemUtil.h
38 строк
690 B
PatoFlamejanteTV
full source code
19 дек 2024, 19:11
19 дек 2024, 19:11
05db15d
Код
Авторство
О чём код?
#pragma once #include <string> #ifdef _WIN32 typedef unsigned __int64 uint64_t; #endif namespace RBX { namespace SystemUtil { /// CPU Related std::string getCPUMake(); uint64_t getCPUSpeed(); uint64_t getCPULogicalCount(); uint64_t getCPUCoreCount(); uint64_t getCPUPhysicalCount(); bool isCPU64Bit(); /// Memory Related uint64_t getMBSysRAM(); uint64_t getMBSysAvailableRAM(); uint64_t getVideoMemory(); /// OS Related std::string osPlatform(); int osPlatformId(); std::string osVer(); std::string deviceName(); /// GPU Related std::string getGPUMake(); // Display Resolution std::string getMaxRes(); } }