SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
There are two ways to collect the statistics: packet based and manual read to the register space. The most efficient and effective way of the getting the stats are by using packet. The advantage is that software has a global pointer that is always pointed to the ‘stats page’. When software receives a new packet with the latest stats, software keeps these stats where the CPPI DMA places them and change the global pointer to point to the new ‘stats page’. This way software benefits from having “free” stats delivery, and although the stats engine only sends to one host, the host can easily forward the statistics packet to other cores in multi-cores system.