Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 453 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 453 Bytes

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".