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

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


2016-03-07 12:31, Thomas Monjalon:
> 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

Question: Would you be helped by librte_jobstats?


More information about the dev mailing list