Simulacrum  1.2
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
Simulacrum::sysInfo Class Reference

#include <sysInfo.h>

Collaboration diagram for Simulacrum::sysInfo:
Collaboration graph

Public Types

typedef std::time_t stime_t
 

Static Public Member Functions

static std::string systemType ()
 
static void overrideSystemType (const std::string &)
 
static std::string systemName ()
 
static std::vector< std::string > systemAddresses (bool ipv6)
 
static int systemConcurrency ()
 
static void setSystemConcurrency (uint16_t)
 
static uint64_t systemMemory ()
 
static uint64_t systemMemoryUsed ()
 
static uint64_t systemDiskCacheSize ()
 
static uint64_t systemMemoryAvailable ()
 
static std::string sysInfoString ()
 
static bool preferRealloc ()
 
static void setPreferRealloc (bool)
 
static std::string homeDIR ()
 
static void overrideHomeDIR (const std::string &)
 
static std::string simulacrumDIR ()
 
static void initDiskStore ()
 
static bool loadConfig (NNode &)
 
static bool storeConfig (NNode &)
 
static stime_t time ()
 
static stime_t localTime ()
 
static std::string timeString (stime_t)
 
static void sleep (long unsigned ms)
 
static std::string genGUIDString ()
 

Static Public Attributes

static const bool isBigEndian = doIsBigEndian()
 

Member Typedef Documentation

◆ stime_t

typedef std::time_t Simulacrum::sysInfo::stime_t

Member Function Documentation

◆ genGUIDString()

std::string sysInfo::genGUIDString ( )
static

◆ homeDIR()

std::string sysInfo::homeDIR ( )
static

◆ initDiskStore()

void sysInfo::initDiskStore ( )
static

◆ loadConfig()

bool sysInfo::loadConfig ( NNode target)
static

◆ localTime()

sysInfo::stime_t sysInfo::localTime ( )
static

◆ overrideHomeDIR()

void sysInfo::overrideHomeDIR ( const std::string &  newhome)
static

◆ overrideSystemType()

void sysInfo::overrideSystemType ( const std::string &  newtype)
static

◆ preferRealloc()

bool sysInfo::preferRealloc ( )
static

◆ setPreferRealloc()

void sysInfo::setPreferRealloc ( bool  nval)
static

◆ setSystemConcurrency()

void sysInfo::setSystemConcurrency ( uint16_t  nsystcon)
static

◆ simulacrumDIR()

std::string sysInfo::simulacrumDIR ( )
static

◆ sleep()

void sysInfo::sleep ( long unsigned  ms)
static

◆ storeConfig()

bool sysInfo::storeConfig ( NNode source)
static

◆ sysInfoString()

std::string sysInfo::sysInfoString ( )
static

◆ systemAddresses()

std::vector< std::string > sysInfo::systemAddresses ( bool  ipv6)
static

◆ systemConcurrency()

int sysInfo::systemConcurrency ( )
static

◆ systemDiskCacheSize()

uint64_t sysInfo::systemDiskCacheSize ( )
static

◆ systemMemory()

uint64_t sysInfo::systemMemory ( )
static

◆ systemMemoryAvailable()

uint64_t sysInfo::systemMemoryAvailable ( )
static

◆ systemMemoryUsed()

uint64_t sysInfo::systemMemoryUsed ( )
static

◆ systemName()

std::string sysInfo::systemName ( )
static

◆ systemType()

std::string sysInfo::systemType ( )
static

◆ time()

sysInfo::stime_t sysInfo::time ( )
static

◆ timeString()

std::string sysInfo::timeString ( stime_t  ltime)
static

Member Data Documentation

◆ isBigEndian

const bool sysInfo::isBigEndian = doIsBigEndian()
static

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