1
0
Fork 0
Univerxel/src/core/utils/os.hpp

20 lines
349 B
C++

#pragma once
namespace os {
struct global {
struct memory {
/// In bytes
unsigned long long total;
unsigned long long free;
};
memory ram;
memory swap;
};
global GetGlobal();
struct process {
unsigned long long memused;
};
process GetProcess();
}