MCPcopy Create free account
hub / github.com/F-Stack/f-stack / rte_memory_get_nchannel

Function rte_memory_get_nchannel

dpdk/lib/eal/common/eal_common_memory.c:632–635  ·  view source on GitHub ↗

return the number of memory channels */

Source from the content-addressed store, hash-verified

630
631/* return the number of memory channels */
632unsigned rte_memory_get_nchannel(void)
633{
634 return rte_eal_get_configuration()->mem_config->nchannel;
635}
636
637/* return the number of memory rank */
638unsigned rte_memory_get_nrank(void)

Callers 5

arch_mem_object_alignFunction · 0.85
alloc_segFunction · 0.85
alloc_segFunction · 0.85
eal_memory.cFile · 0.85

Calls 1

Tested by

no test coverage detected