Explorar el Código

Count the number of realloc() calls

Ioannis Koutras hace 13 años
padre
commit
6c88e0d3ce
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      include/dmmlib/dmmstats.h

+ 1 - 0
include/dmmlib/dmmstats.h

@@ -39,6 +39,7 @@ typedef struct dmmstats_s {
     uint32_t live_objects; /**< Number of the currently used blocks. */
     uint32_t num_malloc; /**< Number of malloc()'s served. */
     uint32_t num_free; /**< Number of free()'s served. */
+    uint32_t num_realloc; /**< Number of realloc()'s served. */
 } dmmstats_t;
 
 #endif /* DMMSTATS_H */