SparseLibrary  Version 1.6.0
Public Member Functions | Static Public Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
MachineInfo Class Reference

Singleton class to get info on the current system. More...

#include <MachineInfo.hpp>

Public Member Functions

unsigned long int cores () const
 The number of available cores.
 

Static Public Member Functions

static const MachineInfogetInstance ()
 Gets a singleton instance.
 

Static Protected Member Functions

static void load ()
 Intialises the singleton instance.
 

Protected Attributes

unsigned long int P
 The number of available cores on this machine.
 

Detailed Description

Singleton class to get info on the current system.


The documentation for this class was generated from the following files: