|
CppBenchmark 1.0.5.0
C++ Benchmark Library
|
Environment management static class. More...
#include <environment.h>
Public Member Functions | |
| Environment ()=delete | |
| Environment (const Environment &)=delete | |
| Environment (Environment &&)=delete | |
| ~Environment ()=delete | |
| Environment & | operator= (const Environment &)=delete |
| Environment & | operator= (Environment &&)=delete |
Static Public Member Functions | |
| static bool | Is32BitOS () |
| Is 32-bit OS? | |
| static bool | Is64BitOS () |
| Is 64-bit OS? | |
| static bool | Is32BitProcess () |
| Is 32-bit running process? | |
| static bool | Is64BitProcess () |
| Is 64-bit running process? | |
| static bool | IsDebug () |
| Is compiled in debug mode? | |
| static bool | IsRelease () |
| Is compiled in release mode? | |
| static bool | IsBigEndian () |
| Is big-endian system? | |
| static bool | IsLittleEndian () |
| Is little-endian system? | |
| static std::string | OSVersion () |
| Get OS version string. | |
| static std::string | EndLine () |
| Get text end line separator. | |
| static std::string | UnixEndLine () |
| Get Unix text end line separator. | |
| static std::string | WindowsEndLine () |
| Get Windows text end line separator. | |
| static time_t | Timestamp () |
| Get the current time in seconds. | |
Environment management static class.
Provides environment management functionality to get OS bit version, process bit version, debug/release mode, timestamp, etc.
Definition at line 22 of file environment.h.
|
delete |
|
delete |
|
delete |
|
delete |
|
static |
Get text end line separator.
Definition at line 412 of file environment.cpp.
|
static |
Is 32-bit OS?
Definition at line 38 of file environment.cpp.
|
static |
Is 32-bit running process?
Definition at line 62 of file environment.cpp.
|
static |
Is 64-bit OS?
Definition at line 43 of file environment.cpp.
|
static |
Is 64-bit running process?
Definition at line 67 of file environment.cpp.
|
static |
Is big-endian system?
Definition at line 100 of file environment.cpp.
|
static |
Is compiled in debug mode?
Definition at line 86 of file environment.cpp.
|
static |
Is little-endian system?
Definition at line 106 of file environment.cpp.
|
static |
Is compiled in release mode?
Definition at line 91 of file environment.cpp.
|
delete |
|
delete |
|
static |
Get OS version string.
Definition at line 112 of file environment.cpp.
|
static |
Get the current time in seconds.
Definition at line 433 of file environment.cpp.
|
static |
Get Unix text end line separator.
Definition at line 423 of file environment.cpp.
|
static |
Get Windows text end line separator.
Definition at line 428 of file environment.cpp.