make it pointy, idk if i like the names
This commit is contained in:
@@ -8,15 +8,20 @@
|
||||
#include <string>
|
||||
#include <utils.hpp>
|
||||
|
||||
struct mem_usage_t {
|
||||
std::string getAvgs();
|
||||
std::array<std::string, 2> getTimeDate();
|
||||
|
||||
namespace sys {
|
||||
|
||||
struct Memory {
|
||||
uint64_t free = 0;
|
||||
uint64_t used = 0;
|
||||
uint64_t total = 0;
|
||||
};
|
||||
|
||||
std::string getAvgs();
|
||||
std::array<std::string, 2> getTimeDate();
|
||||
mem_usage_t getDisk(std::string mount);
|
||||
mem_usage_t getRam();
|
||||
void getDisk(Memory* disk, std::string mount);
|
||||
void getRam(Memory* mem);
|
||||
|
||||
} // namespace sys
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user