#include <mlabScriptWrappers.h>
Inherits QObject.
Global MLABSystemInfo object available in all scripts.
The MLABSystemInfo object can be used to query for system parameters like number of CPUs, etc.
◆ availableMemoryInMB
int MLABSystemInfo::availableMemoryInMB |
( |
| ) |
const |
|
slot |
Returns the available memory of the machine in MB.
◆ cpuDetailedFeatures
QString MLABSystemInfo::cpuDetailedFeatures |
( |
| ) |
const |
|
slot |
Returns a string with all information on the features of the CPUs of the machine.
◆ cpuModelId
QString MLABSystemInfo::cpuModelId |
( |
| ) |
const |
|
slot |
◆ cpuVendorId
QString MLABSystemInfo::cpuVendorId |
( |
| ) |
const |
|
slot |
◆ glRenderer
QString MLABSystemInfo::glRenderer |
( |
| ) |
const |
|
slot |
Returns the GL renderer info.
◆ glSupports10Bit
bool MLABSystemInfo::glSupports10Bit |
( |
| ) |
const |
|
slot |
Returns whether GL supports 10bit visual contexts.
◆ glSupportsExtension
bool MLABSystemInfo::glSupportsExtension |
( |
const QString & | extension | ) |
const |
|
slot |
Returns whether a given GL extension is supported (e.g. GL_ARB_fragment_program).
◆ glVendor
QString MLABSystemInfo::glVendor |
( |
| ) |
const |
|
slot |
Returns the GL vendor info.
◆ glVersion
QString MLABSystemInfo::glVersion |
( |
| ) |
const |
|
slot |
Returns the OpenGL version string.
◆ gpuVideoMemoryInMB
int MLABSystemInfo::gpuVideoMemoryInMB |
( |
| ) |
const |
|
slot |
Returns the video memory of the machine in MB (or 0 if not known).
◆ isMesaSoftwareRenderer
bool MLABSystemInfo::isMesaSoftwareRenderer |
( |
| ) |
const |
|
slot |
Returns if the GL driver is the Mesa software renderer (typically llvmpipe)
◆ isNative64Bit
bool MLABSystemInfo::isNative64Bit |
( |
| ) |
const |
|
slot |
Returns whether MeVisLab is a native 64Bit application.
◆ isProcessTranslated
bool MLABSystemInfo::isProcessTranslated |
( |
| ) |
const |
|
slot |
Determine if MeVisLab is running under dynamic binary translation.
◆ numberOfCores
int MLABSystemInfo::numberOfCores |
( |
| ) |
const |
|
slot |
Returns the number of cores.
◆ numberOfPhysicalProcessors
int MLABSystemInfo::numberOfPhysicalProcessors |
( |
| ) |
const |
|
slot |
Returns the number of physical processors.
◆ numberOfVirtualProcessors
int MLABSystemInfo::numberOfVirtualProcessors |
( |
| ) |
const |
|
slot |
Returns the number of virtual processors (depending on number of cores and hyper-threading).
◆ physicalMemoryInMB
int MLABSystemInfo::physicalMemoryInMB |
( |
| ) |
const |
|
slot |
Returns the physical memory of the machine in MB.
◆ wasBuiltWithCUDASupport
bool MLABSystemInfo::wasBuiltWithCUDASupport |
( |
| ) |
const |
|
slot |
Returns if MeVisLab was built with CUDA support.