Covalent Bond  0.0.1-alpha
'covalent bond' is a data middle office. As a 2022-2023 Fall SWE final project.
Classes | Namespaces | Macros
sysStatus.hpp File Reference

utils/sysStatus.hpp ... To get the infomation of system. For both windows and unix. Those informations will also be serialized to binary or json files for persistence. More...

#include "../pch.hpp"
Include dependency graph for sysStatus.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cb::utils::sysInfo
 

Namespaces

 cb
 _WIN32
 
 cb::utils
 

Macros

#define __DESCRIBE_CHAR_MAX_NUMS   512
 _WIN32 More...
 
#define __DESCRIBE_CHAR_MAX_NUMS_DOUBLE   1024
 
#define COVER_KB2MB(x)   ((float)x / 1024.f)
 
#define COVER_KB2GB(x)   (COVER_KB2MB(x) / 1024.f)
 

Detailed Description

utils/sysStatus.hpp ... To get the infomation of system. For both windows and unix. Those informations will also be serialized to binary or json files for persistence.

Author
chenghua Wang (cheng.nosp@m.hua..nosp@m.wang..nosp@m.edu@.nosp@m.gmail.nosp@m..com)
Version
0.1
Date
2022-10-23

Definition in file sysStatus.hpp.

Macro Definition Documentation

◆ __DESCRIBE_CHAR_MAX_NUMS

#define __DESCRIBE_CHAR_MAX_NUMS   512

_WIN32

defined(unix) && defined(clang)

Definition at line 28 of file sysStatus.hpp.

◆ __DESCRIBE_CHAR_MAX_NUMS_DOUBLE

#define __DESCRIBE_CHAR_MAX_NUMS_DOUBLE   1024

Definition at line 29 of file sysStatus.hpp.

◆ COVER_KB2GB

#define COVER_KB2GB (   x)    (COVER_KB2MB(x) / 1024.f)

Definition at line 31 of file sysStatus.hpp.

◆ COVER_KB2MB

#define COVER_KB2MB (   x)    ((float)x / 1024.f)

Definition at line 30 of file sysStatus.hpp.