System information
More...
#include <cc/System>
|
| static int | concurrency () |
| | Query the number of threads the system can run concurrently.
|
| |
| static int | pageSize () |
| | Query the memory page size (in bytes)
|
| |
| static double | now () |
| | Get the current system time (in seconds since start of Epoch, starting at 1st Jan 1970 00:00:00)
|
| |
| static String | hostName () |
| | Get the system's host name.
|
| |
| static void | setHostName (const String &newName) |
| | Set the system's host name
|
| |
◆ concurrency()
Query the number of threads the system can run concurrently.
◆ pageSize()
Query the memory page size (in bytes)
◆ now()
Get the current system time (in seconds since start of Epoch, starting at 1st Jan 1970 00:00:00)
- See also
- Date, Timezone
◆ hostName()
Get the system's host name.
◆ setHostName()
| void setHostName |
( |
const String & | newName | ) |
|
|
static |
Set the system's host name