summaryrefslogtreecommitdiffstats
path: root/libraries/systeminfo/include/sys.h
blob: e40d9a92a6ee6352270fbd50df5f25b9c187c4f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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();
}