Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
memory.hpp
Go to the documentation of this file.
1
3#pragma once
4#include <aegis2d/core/export.hpp>
5
6#include <cstddef>
7#include <optional>
8
9namespace aegis2d::core {
10
16[[nodiscard]] AEGIS2D_CORE_EXPORT std::optional<std::size_t> memory_use() noexcept;
17
18} // namespace aegis2d::core
Logging, time, main loop, events and configuration shared by client and server.
Definition clock.hpp:11
std::optional< std::size_t > memory_use() noexcept
Memory of the process in RAM now: its resident set (Linux, macOS) or working set (Windows),...