Skip to content

Header only library to get memory usage for windows, macOS, linux.

License

Notifications You must be signed in to change notification settings

KondoA9/cpp-memory-usage

Repository files navigation

cpp-memory-usage

Header only library to get memory usage for windows, macOS, linux.

Usage

#include "memuse.hpp"

or

#include "memuse/memuse_{win, mac, linux}"

Sample code is here.

If you do not want to use inline functions, you can define without inlining by difining CPP_MEMORY_USAGE_NO_INLINE before #include memuse.hpp".