Home
last modified time | relevance | path

Searched refs:socket_stats (Results 1 – 6 of 6) sorted by relevance

/f-stack/dpdk/app/test-flow-perf/
H A Dmain.c780 !socket_stats.heap_totalsz_bytes) in dump_socket_mem()
783 total += socket_stats.heap_totalsz_bytes; in dump_socket_mem()
784 alloc += socket_stats.heap_allocsz_bytes; in dump_socket_mem()
785 free += socket_stats.heap_freesz_bytes; in dump_socket_mem()
786 n_alloc += socket_stats.alloc_count; in dump_socket_mem()
787 n_free += socket_stats.free_count; in dump_socket_mem()
796 socket_stats.heap_totalsz_bytes / 1.0e6, in dump_socket_mem()
797 socket_stats.heap_allocsz_bytes / 1.0e6, in dump_socket_mem()
800 socket_stats.heap_freesz_bytes / 1.0e6, in dump_socket_mem()
802 socket_stats.alloc_count, in dump_socket_mem()
[all …]
/f-stack/dpdk/lib/librte_eal/common/
H A Dmalloc_heap.c1029 struct rte_malloc_socket_stats *socket_stats) in malloc_heap_get_stats() argument
1037 socket_stats->free_count = 0; in malloc_heap_get_stats()
1038 socket_stats->heap_freesz_bytes = 0; in malloc_heap_get_stats()
1039 socket_stats->greatest_free_size = 0; in malloc_heap_get_stats()
1046 socket_stats->free_count++; in malloc_heap_get_stats()
1047 socket_stats->heap_freesz_bytes += elem->size; in malloc_heap_get_stats()
1048 if (elem->size > socket_stats->greatest_free_size) in malloc_heap_get_stats()
1049 socket_stats->greatest_free_size = elem->size; in malloc_heap_get_stats()
1054 socket_stats->heap_allocsz_bytes = (socket_stats->heap_totalsz_bytes - in malloc_heap_get_stats()
1055 socket_stats->heap_freesz_bytes); in malloc_heap_get_stats()
[all …]
H A Dmalloc_heap.h92 struct rte_malloc_socket_stats *socket_stats);
H A Drte_malloc.c228 struct rte_malloc_socket_stats *socket_stats) in rte_malloc_get_socket_stats() argument
238 socket_stats); in rte_malloc_get_socket_stats()
/f-stack/dpdk/lib/librte_eal/include/
H A Drte_malloc.h301 struct rte_malloc_socket_stats *socket_stats);
/f-stack/dpdk/app/test-pmd/
H A Dcmdline.c9517 struct rte_malloc_socket_stats socket_stats; in dump_socket_mem() local
9530 !socket_stats.heap_totalsz_bytes) in dump_socket_mem()
9532 total += socket_stats.heap_totalsz_bytes; in dump_socket_mem()
9533 alloc += socket_stats.heap_allocsz_bytes; in dump_socket_mem()
9534 free += socket_stats.heap_freesz_bytes; in dump_socket_mem()
9535 n_alloc += socket_stats.alloc_count; in dump_socket_mem()
9536 n_free += socket_stats.free_count; in dump_socket_mem()
9542 (double)socket_stats.heap_allocsz_bytes * 100 / in dump_socket_mem()
9543 (double)socket_stats.heap_totalsz_bytes, in dump_socket_mem()
9545 socket_stats.alloc_count, in dump_socket_mem()
[all …]