summaryrefslogtreecommitdiffstatshomepage
path: root/py/misc.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-01-03 10:49:55 -0800
committerDamien George <damien.p.george@gmail.com>2014-01-03 10:49:55 -0800
commit91c8d8e71c7780eb17f5f73bdde89eece42e7e98 (patch)
tree4f814850702894ca8a54fa2e7a7c6027ee3302b4 /py/misc.h
parent9b87b39ab47f381521377d3a9456a0a1651f4cae (diff)
parentb372bfca21ccab593359ef25a0a0c6bf697c8586 (diff)
downloadmicropython-91c8d8e71c7780eb17f5f73bdde89eece42e7e98.tar.gz
micropython-91c8d8e71c7780eb17f5f73bdde89eece42e7e98.zip
Merge pull request #41 from pfalcon/more-mem-stats
Collect more memory statistics
Diffstat (limited to 'py/misc.h')
-rw-r--r--py/misc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/misc.h b/py/misc.h
index 9f83ab526f..153218ba2f 100644
--- a/py/misc.h
+++ b/py/misc.h
@@ -32,6 +32,8 @@ void *m_realloc(void *ptr, int old_num_bytes, int new_num_bytes);
void m_free(void *ptr, int num_bytes);
int m_get_total_bytes_allocated(void);
+int m_get_current_bytes_allocated(void);
+int m_get_peak_bytes_allocated(void);
/** unichar / UTF-8 *********************************************/