mem0dbg.c:

  Backport from 4.1: make mem_current_allocated_memory global variable
parent 035778d6
...@@ -20,7 +20,7 @@ Protected by mem_hash_mutex above. */ ...@@ -20,7 +20,7 @@ Protected by mem_hash_mutex above. */
static ulint mem_n_created_heaps = 0; static ulint mem_n_created_heaps = 0;
static ulint mem_n_allocations = 0; static ulint mem_n_allocations = 0;
static ulint mem_total_allocated_memory = 0; static ulint mem_total_allocated_memory = 0;
static ulint mem_current_allocated_memory = 0; ulint mem_current_allocated_memory = 0;
static ulint mem_max_allocated_memory = 0; static ulint mem_max_allocated_memory = 0;
/* Size of the hash table for memory management tracking */ /* Size of the hash table for memory management tracking */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment