9 #ifndef CPPBENCHMARK_ENVIRONMENT_H
10 #define CPPBENCHMARK_ENVIRONMENT_H
Environment management static class.
static bool IsDebug()
Is compiled in debug mode?
static std::string OSVersion()
Get OS version string.
static bool IsRelease()
Is compiled in release mode?
static time_t Timestamp()
Get the current time in seconds.
static bool Is64BitProcess()
Is 64-bit running process?
Environment & operator=(Environment &&)=delete
static bool IsLittleEndian()
Is little-endian system?
Environment(const Environment &)=delete
static std::string WindowsEndLine()
Get Windows text end line separator.
static std::string EndLine()
Get text end line separator.
static std::string UnixEndLine()
Get Unix text end line separator.
Environment & operator=(const Environment &)=delete
static bool Is64BitOS()
Is 64-bit OS?
static bool Is32BitOS()
Is 32-bit OS?
Environment(Environment &&)=delete
static bool Is32BitProcess()
Is 32-bit running process?
static bool IsBigEndian()
Is big-endian system?
C++ Benchmark project definitions.