mblock_manager_stat_print format
parent
c6ddfb98a1
commit
201daee3b6
2
HISTORY
2
HISTORY
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
Version 1.44 2020-03-29
|
Version 1.44 2020-03-30
|
||||||
* add test file src/tests/test_pthread_lock.c
|
* add test file src/tests/test_pthread_lock.c
|
||||||
* add uniq_skiplist.[hc]
|
* add uniq_skiplist.[hc]
|
||||||
* add function split_string_ex
|
* add function split_string_ex
|
||||||
|
|
|
||||||
|
|
@ -255,7 +255,7 @@ int fast_mblock_manager_stat_print_ex(const bool hide_empty, const int order_by)
|
||||||
alloc_mem = 0;
|
alloc_mem = 0;
|
||||||
used_mem = 0;
|
used_mem = 0;
|
||||||
delay_free_mem = 0;
|
delay_free_mem = 0;
|
||||||
logInfo("%20s %8s %8s %12s %10s %10s %10s %10s %10s %12s",
|
logInfo("%20s %8s %8s %12s %11s %10s %10s %10s %10s %12s",
|
||||||
"name", "el_size", "instance", "alloc_bytes",
|
"name", "el_size", "instance", "alloc_bytes",
|
||||||
"trunc_alloc", "trunk_used", "el_alloc",
|
"trunc_alloc", "trunk_used", "el_alloc",
|
||||||
"el_used", "delay_free", "used_ratio");
|
"el_used", "delay_free", "used_ratio");
|
||||||
|
|
@ -280,7 +280,7 @@ int fast_mblock_manager_stat_print_ex(const bool hide_empty, const int order_by)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
logInfo("%20s %8d %8d %12"PRId64" %10"PRId64" %10"PRId64
|
logInfo("%20s %8d %8d %12"PRId64" %11"PRId64" %10"PRId64
|
||||||
" %10"PRId64" %10"PRId64" %10"PRId64" %11.2f%%",
|
" %10"PRId64" %10"PRId64" %10"PRId64" %11.2f%%",
|
||||||
pStat->name, pStat->element_size, pStat->instance_count,
|
pStat->name, pStat->element_size, pStat->instance_count,
|
||||||
amem, pStat->trunk_total_count, pStat->trunk_used_count,
|
amem, pStat->trunk_total_count, pStat->trunk_used_count,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue