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