SystemInfo Class
UnigineScript is deprecated and will be removed in future releases. Please consider using C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScipt is not guaranteed, as the current level of support assumes only fixing critical issues.
SystemInfo Class
Members
string getBinaryInfo ( ) #
Returns information on the Engine binary.Return value
Information on the Engine binary.string getRevisionInfo ( ) #
Returns information on the Engine version.Return value
Information on the Engine version, date.string getSystemInfo ( ) #
Returns operating system information.Return value
Operating system information.string getCPUInfo ( ) #
Returns information on the CPU.Return value
CPU information.int getSystemMemory ( ) #
Returns the current system memory amount.Return value
Current system memory amount, in Mbytes.int getCPUFrequency ( ) #
Returns the current CPU frequency.Return value
Current CPU frequency, in MHz.int getCPUCount ( ) #
Returns the number of available CPUs.Return value
Number of available CPUs.int getCPUThreads ( ) #
Returns the number of available CPU threads.Return value
Number of available CPU threads.int hasMMX ( ) #
Returns a value indicating if the system supports MMX (Multi-Media Extensions).Return value
1 if the system supports MMX extension; otherwise, 0.int hasSSE ( ) #
Returns a value indicating if the system supports SSE (Streaming SIMD Extensions).Return value
1 if the system supports SSE extension; otherwise, 0.int hasSSE2 ( ) #
Returns a value indicating if the system supports SSE2 (Streaming SIMD Extensions).Return value
1 if the system supports SSE2 extension; otherwise, 0.int hasSSE3 ( ) #
Returns a value indicating if the system supports SSE3 (Streaming SIMD Extensions).Return value
1 if the system supports SSE3 extension; otherwise, 0.int hasSSE4 ( ) #
Returns a value indicating if the system supports SSE4 (Streaming SIMD Extensions).Return value
1 if the system supports SSE4 extension; otherwise, 0.int hasSSE5 ( ) #
Returns a value indicating if the system supports SSE5 (Streaming SIMD Extensions).Return value
1 if the system supports SSE5 extension; otherwise, 0.int hasAVX ( ) #
Returns a value indicating if the system supports AVX (Advanced Vector Extensions).Return value
1 if the system supports AVX extension; otherwise, 0.int hasAVX2 ( ) #
Returns a value indicating if the system supports AVX2 (Advanced Vector Extensions).Return value
1 if the system supports AVX2 extension; otherwise, 0.int hasNeon ( ) #
Returns a value indicating if the system supports Neon (Advanced Vector Extensions).Return value
1 if the system supports Neon extension; otherwise, 0.int hasHyperThreading ( ) #
Returns a value indicating if the system supports hyper-threading.Return value
1 if the system supports hyper-threading; otherwise, 0.int getGPUCount ( ) #
Returns the number of available GPUs.Return value
Number of available GPUs.string getGPUInfo ( int video_adapter_num = 0 ) #
Returns information on the video adapter with the specified number (video card, driver versions).Arguments
- int video_adapter_num - Number of the video adapter.
Return value
Information on the video adapter.int getGPUMemory ( int video_adapter_num = 0 ) #
Returns the video memory size for the video adapter with the specified number.Arguments
- int video_adapter_num - Number of the video adapter.
Return value
Video memory size, in Mbytes.Last update:
2020-04-10
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)