commit | 02de0c57d233bf969ed3971c319a96dd9f998549 | [log] [tgz] |
---|---|---|
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Wed Jan 01 23:15:47 2014 +0200 |
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | Fri Jan 03 18:55:23 2014 +0200 |
tree | 043a92c90c6cd5aa928886ead41ed41b4ce4759f | |
parent | 43f1c8080ae209f41b95a9a390f0596c454b30d9 [diff] [blame] |
Add new alloc metric: current_bytes_allocated. Unlike total_bytes_allocated, this tracks m_free()'s too.
diff --git a/py/misc.h b/py/misc.h index 9f83ab5..383d398 100644 --- a/py/misc.h +++ b/py/misc.h
@@ -32,6 +32,7 @@ void m_free(void *ptr, int num_bytes); int m_get_total_bytes_allocated(void); +int m_get_current_bytes_allocated(void); /** unichar / UTF-8 *********************************************/