Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
memory.hpp File Reference

The memory the process uses, as the system counts it. More...

#include <aegis2d/core/export.hpp>
#include <cstddef>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::core
 Logging, time, main loop, events and configuration shared by client and server.
 

Functions

std::optional< std::size_t > aegis2d::core::memory_use () noexcept
 Memory of the process in RAM now: its resident set (Linux, macOS) or working set (Windows), in bytes.
 

Detailed Description

The memory the process uses, as the system counts it.