|
@@ -42,4 +42,12 @@ typedef struct dmmstats_s {
|
|
|
uint32_t num_realloc; /**< Number of realloc()'s served. */
|
|
|
} dmmstats_t;
|
|
|
|
|
|
+#ifdef REQUEST_SIZE_INFO
|
|
|
+/** Returns the total memory currently requested by the application. */
|
|
|
+size_t get_total_requested_memory(void);
|
|
|
+#endif /* REQUEST_SIZE_INFO */
|
|
|
+
|
|
|
+/** Returns the total memory currently allocated for the application. */
|
|
|
+size_t get_total_allocated_memory(void);
|
|
|
+
|
|
|
#endif /* DMMSTATS_H */
|