|
|
|
|
|
|
|
|
|
|
|
|||||||
#include <winstl_system_info.h>
Static Public Methods | |
| ws_uint32_t | number_of_processors () |
| Returns the number of processes on the host machine. | |
| ws_size_t | page_size () |
| Returns the page size of the host machine. | |
| ws_size_t | allocation_granularity () |
| Returns the allocation granularity of the host machine. | |
| const SYSTEM_INFO & | get_systeminfo () |
Provides a non-mutable (const) reference to the SYSTEM_INFO instance. | |
This class wraps the GetSystemInfo() API function. Since the information that this function provides is constant for any particular active system for its lifetime, the function is called only once, as implemented via the _get_systeminfo() method.
|
|
Returns the allocation granularity of the host machine.
|
|
|
Provides a non-mutable (const) reference to the
|
|
|
Returns the number of processes on the host machine.
|
|
|
Returns the page size of the host machine.
|
|
|
| STLSoft Libraries documentation © Synesis Software Pty Ltd, 2001-2004 |