openspace.systemCapabilities
Functions overview
Name |
Documentation |
---|---|
Returns the cache line size |
|
Returns the cache size |
|
Returns the number of cores |
|
Returns all supported exteions as comma-separated string |
|
Returns the operating system as a string |
|
Returns the amount of available, installed main memory (RAM) on the system in MB |
|
Returns the L2 associativity |
|
This function returns a string identifying the currently running operating system |
Functions
cacheLineSize
Returns the cache line size.
Return type: Integer
openspace.systemCapabilities.cacheLineSize()
cacheSize
Returns the cache size.
Return type: Integer
openspace.systemCapabilities.cacheSize()
cores
Returns the number of cores.
Return type: Integer
openspace.systemCapabilities.cores()
extensions
Returns all supported exteions as comma-separated string.
Return type: String
openspace.systemCapabilities.extensions()
fullOperatingSystem
Returns the operating system as a string. The exact format of the returned string is implementation and operating system-dependent but it should contain the manufacturer and the version.
Return type: String
openspace.systemCapabilities.fullOperatingSystem()
installedMainMemory
Returns the amount of available, installed main memory (RAM) on the system in MB.
Return type: Integer
openspace.systemCapabilities.installedMainMemory()
L2Associativity
Returns the L2 associativity.
Return type: Integer
openspace.systemCapabilities.L2Associativity()
os
This function returns a string identifying the currently running operating system. For Windows, the string is ‘windows’, for MacOS, it is ‘osx’, and for Linux it is ‘linux’. For any other operating system, this function returns ‘other’.
Return type: String
openspace.systemCapabilities.os()