7a14b63957
* System, Java and CPU architecture (either 32 or 64). * Java version. * System memory size in MB. * Java min/max heap size in MB.
18 lines
276 B
C++
18 lines
276 B
C++
#pragma once
|
|
#include <QString>
|
|
|
|
namespace Sys
|
|
{
|
|
/**
|
|
* Get operation system name and version.
|
|
* @return os A QString with the name and version of the operating system.
|
|
*/
|
|
QString getSystemInfo();
|
|
|
|
uint64_t getSystemRam();
|
|
|
|
bool isSystem64bit();
|
|
|
|
bool isCPU64bit();
|
|
}
|