8 return b ?
"yes" :
"no";
14 <<
"---------------------------------------" << std::endl
15 <<
" System-specific information " << std::endl
16 <<
"---------------------------------------" << std::endl
19 <<
"Cache / processors:" << std::endl
20 <<
"-------------------" << std::endl
26 <<
"Supported technologies:" << std::endl
27 <<
"-----------------------" << std::endl
40 <<
"Memory management:" << std::endl
41 <<
"------------------" << std::endl
45#if defined(OGDF_SYSTEM_WINDOWS) || defined(__CYGWIN__)
Decalration of System class which provides unified access to system information.
Basic declarations, included by all source files.
static size_t memoryInGlobalFreeListOfMemoryManager()
Returns the amount of memory (in bytes) contained in the global free list of OGDF's memory manager.
static size_t memoryAllocatedByMalloc()
Returns the amount of memory (in bytes) allocated on the heap (e.g., with malloc).
static size_t peakMemoryUsedByProcess()
Returns the maximal amount of memory (in bytes) used by the process (Windows/Cygwin only).
static size_t memoryUsedByProcess()
Returns the amount of memory (in bytes) allocated by the process.
static int numberOfProcessors()
Returns the number of processors (cores) available on the current system.
static size_t memoryInThreadFreeListOfMemoryManager()
Returns the amount of memory (in bytes) contained in the thread's free list of OGDF's memory manager.
static int cacheLineBytes()
Returns the number of bytes in a cache line.
static size_t memoryAllocatedByMemoryManager()
Returns the amount of memory (in bytes) allocated by OGDF's memory manager.
static size_t memoryInFreelistOfMalloc()
Returns the amount of memory (in bytes) contained in free chunks on the heap.
static long long availablePhysicalMemory()
Returns the size of available (free) physical memory (in bytes).
static bool cpuSupports(CPUFeature feature)
Returns true if the CPU supports feature.
static long long physicalMemory()
Returns the total size of physical memory (in bytes).
static int cacheSizeKBytes()
Returns the L2-cache size (in KBytes).
The namespace for all OGDF objects.