System information.
More...
#include <macSystemInfo.h>
System information.
Definition at line 27 of file macSystemInfo.h.
◆ getComputerModelId()
static std::string macos::SystemInfo::getComputerModelId |
( |
| ) |
|
|
static |
Retrieve the computer's model information (e.g. 'MacBookPro1,1' or 'unknown')
◆ getCurrentUserName()
static std::string macos::SystemInfo::getCurrentUserName |
( |
| ) |
|
|
static |
Retrieve the logon name of the current user.
◆ getDoubleClickInterval()
static double macos::SystemInfo::getDoubleClickInterval |
( |
| ) |
|
|
static |
Returns the time, in seconds, in which a second mouse click must occur in order to be considered a double click.
◆ getFreeMemorySize()
static uint64_t macos::SystemInfo::getFreeMemorySize |
( |
| ) |
|
|
static |
Return number of bytes of free memory in the system.
The free memory is calculated using the following scheme: (vm_num_of_free_pages + vm_num_of_inactive_pages) * vm_page_size
◆ getFullCurrentUserName()
static std::string macos::SystemInfo::getFullCurrentUserName |
( |
| ) |
|
|
static |
Retrieve full name of the current user.
◆ getMaximumRecentDocumentCount()
static unsigned int macos::SystemInfo::getMaximumRecentDocumentCount |
( |
| ) |
|
|
static |
Returns the maximum number of items that may be presented in the standard Open Recent menu.
◆ getNumberOfActiveCPUs()
static unsigned int macos::SystemInfo::getNumberOfActiveCPUs |
( |
| ) |
|
|
static |
Return the number of processors currently available for executing threads.
This is the number of cpus to use for distributing work!
◆ getNumberOfCPUPackages()
static unsigned int macos::SystemInfo::getNumberOfCPUPackages |
( |
| ) |
|
|
static |
Return the number of physical processors.
◆ getNumberOfCPUs()
static unsigned int macos::SystemInfo::getNumberOfCPUs |
( |
| ) |
|
|
static |
Return the number of processing cores available on the computer.
◆ getOSBuildVersion()
static std::string macos::SystemInfo::getOSBuildVersion |
( |
| ) |
|
|
static |
Retrieve the Mac OS X operating system build version (e.g. '9J61' or 'unknown')
◆ getOSVersion()
static std::string macos::SystemInfo::getOSVersion |
( |
| ) |
|
|
static |
Retrieve the Mac OS X operating system version (e.g. '10.5.7')
◆ getOSVersionNumber()
static uint32_t macos::SystemInfo::getOSVersionNumber |
( |
| ) |
|
|
static |
Retrieve the Mac OS X operating system version as hex digits number (e.g. 0x100507)
◆ getPhysicalMemorySize()
static uint64_t macos::SystemInfo::getPhysicalMemorySize |
( |
| ) |
|
|
static |
Return number of bytes of physical memory in the system.
The documentation for this class was generated from the following file: