[dpdk-dev] [PATCH v2] examples/ip_pipeline: CPU utilization measurement and display

Thomas Monjalon thomas.monjalon at 6wind.com
Mon Mar 7 12:31:09 CET 2016


2016-02-22 14:07, Fan Zhang:
> This patch adds CPU utilization measurement and idle cycle rate
> computation to packet framework. The measurement is done by measuring
> the cycles spent while a thread pulls zero packet from RX queue. These
> cycles are treated as idle cycles (or headroom). A CLI command is added
> to display idle cycle rate of specific thread. The CLI command format is
> shown as following:
> 
> t <thread_id> headroom
> 
> Signed-off-by: Fan Zhang <roy.fan.zhang at intel.com>
> Acked-by: Cristian Dumitrescu <cristian.dumitrescu at intel.com>

Applied, thanks


More information about the dev mailing list