make it pointy, idk if i like the names

This commit is contained in:
Drath
2025-09-22 21:08:41 +02:00
parent f72a6ca139
commit f7cb927a7e
3 changed files with 25 additions and 22 deletions

View File

@@ -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