pollymc/libraries/systeminfo/include/sys.h

21 lines
262 B
C
Raw Normal View History

#pragma once
#include <QString>
namespace Sys
{
const uint64_t megabyte = 1024ull * 1024ull;
struct KernelInfo
{
QString kernelName;
QString kernelVersion;
};
KernelInfo getKernelInfo();
uint64_t getSystemRam();
bool isSystem64bit();
bool isCPU64bit();
}