diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-01 15:14:15 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-02-01 15:14:15 +0300 |
commit | baf7be9e466a2f111b030b9098be71f3aba3aca7 (patch) | |
tree | 0d9f453dc09592fc42e46769432ae579808f063b /intern/guardedalloc/MEM_guardedalloc.h | |
parent | f971304158c68638db225d17a603de71ec16a1c8 (diff) |
Memory usage debugging: now with the -d debug option enabled, at the end
of rendering it prints memory usage for images and all memory blocks.
Diffstat (limited to 'intern/guardedalloc/MEM_guardedalloc.h')
-rw-r--r-- | intern/guardedalloc/MEM_guardedalloc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/guardedalloc/MEM_guardedalloc.h b/intern/guardedalloc/MEM_guardedalloc.h index 94276c0454a..73eddff7d8a 100644 --- a/intern/guardedalloc/MEM_guardedalloc.h +++ b/intern/guardedalloc/MEM_guardedalloc.h @@ -106,6 +106,9 @@ extern "C" { /** Print a list of the names and sizes of all allocated memory * blocks. */ void MEM_printmemlist(void); + + /** Print statistics about memory usage */ + void MEM_printmemlist_stats(void); /** Set the callback function for error output. */ void MEM_set_error_callback(void (*func)(char *)); |