Преглед изворни кода

Add some comments on statistic variables

Ioannis Koutras пре 13 година
родитељ
комит
10709ce642
1 измењених фајлова са 4 додато и 2 уклоњено
  1. 4 2
      include/dmmlib/heap.h

+ 4 - 2
include/dmmlib/heap.h

@@ -73,8 +73,10 @@ typedef struct dmmstats_s {
 #ifdef FUTURE_FEATURES
 	size_t mem_requested; /**< Total memory currently requested. */
 #endif /* FUTURE_FEATURES */
-	size_t mem_used; /**< Total memory actively allocated. */
-	size_t mem_allocated; /**< Total managed memory (heap size). */
+	size_t mem_used; /**< Total memory actively used (holds allocated
+			   blocks). */
+	size_t mem_allocated; /**< Total managed memory (heap size, malloc and
+				free blocks). */
 	uint32_t live_objects; /**< Number of the currently used blocks. */
 #ifdef COUNT_ACCESSES
 	uint32_t read_mem_accesses; /**< Number of read accesses. */