diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-07-25 02:29:46 +0200 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2017-08-01 01:50:56 +0200 |
commit | 02607b3103d216dd49ad6fc9ded51773ddb47afd (patch) | |
tree | c58f84de2505b5942ce65efbaef49f648b85357c /editor/icons/icon_graph_scalar_interp.png | |
parent | 3ad68c282ec423080a3e3958b187aaf2e48297c5 (diff) |
Use atomics for memory use tracking
Plus:
- An allocation is counted only after checking its success.
- Max usage is updated after growing reallocs as well.
- Drop unused header.
- Changed the 0xFFF.. at get_mem_available() to -1 with a comment telling it's the same, but more universal.
Diffstat (limited to 'editor/icons/icon_graph_scalar_interp.png')
0 files changed, 0 insertions, 0 deletions