Add API for get the memory stats (#1923)

JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang [email protected]
This commit is contained in:
Zidong Jiang authored and Zoltan Herczeg committed 2017-08-04 09:44:37 +02:00
1 parent 8b5fe254d9
commit c242248b47
9 files changed
+165 -5

No files matched your search

@@ -25,7 +25,6 @@
*/
#ifdef JMEM_STATS
void jmem_heap_get_stats (jmem_heap_stats_t *);
void jmem_heap_stats_reset_peak (void);
void jmem_heap_stats_print (void);
#endif /* JMEM_STATS */
+1
View File
@@ -161,6 +161,7 @@ void jmem_stats_free_object_bytes (size_t string_size);
void jmem_stats_allocate_property_bytes (size_t property_size);
void jmem_stats_free_property_bytes (size_t property_size);
void jmem_heap_get_stats (jmem_heap_stats_t *);
#endif /* JMEM_STATS */
jmem_cpointer_t jmem_compress_pointer (const void *pointer_p) __attr_pure___;