Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

System.h File Reference

Decalration of System class which provides unified access to system information. More...

#include <ogdf/basic/basic.h>
#include <cstdint>
#include <cstdlib>

Go to the source code of this file.

Classes

class  ogdf::System
 System specific functionality. More...
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 

Enumerations

enum  ogdf::CPUFeature { ogdf::CPUFeature::MMX, ogdf::CPUFeature::SSE, ogdf::CPUFeature::SSE2, ogdf::CPUFeature::SSE3, ogdf::CPUFeature::SSSE3, ogdf::CPUFeature::SSE4_1, ogdf::CPUFeature::SSE4_2, ogdf::CPUFeature::VMX, ogdf::CPUFeature::SMX, ogdf::CPUFeature::EST, ogdf::CPUFeature::MONITOR }
 Special features supported by a x86/x64 CPU. More...
 
enum  ogdf::CPUFeatureMask : unsigned int { ogdf::CPUFeatureMask::MMX = 1 << static_cast<int>(CPUFeature::MMX), ogdf::CPUFeatureMask::SSE = 1 << static_cast<int>(CPUFeature::SSE), ogdf::CPUFeatureMask::SSE2 = 1 << static_cast<int>(CPUFeature::SSE2), ogdf::CPUFeatureMask::SSE3 = 1 << static_cast<int>(CPUFeature::SSE3), ogdf::CPUFeatureMask::SSSE3 = 1 << static_cast<int>(CPUFeature::SSSE3), ogdf::CPUFeatureMask::SSE4_1 = 1 << static_cast<int>(CPUFeature::SSE4_1), ogdf::CPUFeatureMask::SSE4_2 = 1 << static_cast<int>(CPUFeature::SSE4_2), ogdf::CPUFeatureMask::VMX = 1 << static_cast<int>(CPUFeature::VMX), ogdf::CPUFeatureMask::SMX = 1 << static_cast<int>(CPUFeature::SMX), ogdf::CPUFeatureMask::EST = 1 << static_cast<int>(CPUFeature::EST), ogdf::CPUFeatureMask::MONITOR = 1 << static_cast<int>(CPUFeature::MONITOR) }
 Bit mask for CPU features. More...
 

Functions

unsigned int ogdf::operator|= (unsigned int &i, CPUFeatureMask fm)
 

Detailed Description

Decalration of System class which provides unified access to system information.

Author
Carsten Gutwenger
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file System.h.