CppBenchmark
1.0.4.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? More... | |
static bool | Is64BitOS () |
Is 64-bit OS? More... | |
static bool | Is32BitProcess () |
Is 32-bit running process? More... | |
static bool | Is64BitProcess () |
Is 64-bit running process? More... | |
static bool | IsDebug () |
Is compiled in debug mode? More... | |
static bool | IsRelease () |
Is compiled in release mode? More... | |
static bool | IsBigEndian () |
Is big-endian system? More... | |
static bool | IsLittleEndian () |
Is little-endian system? More... | |
static std::string | OSVersion () |
Get OS version string. More... | |
static std::string | EndLine () |
Get text end line separator. More... | |
static std::string | UnixEndLine () |
Get Unix text end line separator. More... | |
static std::string | WindowsEndLine () |
Get Windows text end line separator. More... | |
static time_t | Timestamp () |
Get the current time in seconds. More... | |
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 407 of file environment.cpp.
|
static |
Is 32-bit OS?
Definition at line 33 of file environment.cpp.
|
static |
Is 32-bit running process?
Definition at line 57 of file environment.cpp.
|
static |
Is 64-bit OS?
Definition at line 38 of file environment.cpp.
|
static |
Is 64-bit running process?
Definition at line 62 of file environment.cpp.
|
static |
Is big-endian system?
Definition at line 95 of file environment.cpp.
|
static |
Is compiled in debug mode?
Definition at line 81 of file environment.cpp.
|
static |
Is little-endian system?
Definition at line 101 of file environment.cpp.
|
static |
Is compiled in release mode?
Definition at line 86 of file environment.cpp.
|
delete |
|
delete |
|
static |
Get OS version string.
Definition at line 107 of file environment.cpp.
|
static |
Get the current time in seconds.
Definition at line 428 of file environment.cpp.
|
static |
Get Unix text end line separator.
Definition at line 418 of file environment.cpp.
|
static |
Get Windows text end line separator.
Definition at line 423 of file environment.cpp.