[dpdk-dev] [PATCH 0/2] Add CPU utilization to packet framework

Fan Zhang roy.fan.zhang at intel.com
Wed Jan 27 18:36:57 CET 2016


This patchset adds CPU utilization rate computation and CLI command
support to packet framework. The thread idle rate is updated once per
second. User can use thread CLI command to display it.

Fan Zhang (2):
  examples/ip_pipeline: CPU utilization measurement and rate computation
  examples/ip_pipeline: add CLI command to display CPU utilization rate

 examples/ip_pipeline/app.h       |   7 +++
 examples/ip_pipeline/init.c      |   5 ++
 examples/ip_pipeline/thread.c    |  81 +++++++++++++++++++++++++++-
 examples/ip_pipeline/thread.h    |  13 +++++
 examples/ip_pipeline/thread_fe.c | 114 +++++++++++++++++++++++++++++++++++++++
 examples/ip_pipeline/thread_fe.h |   6 +++
 6 files changed, 224 insertions(+), 2 deletions(-)

-- 
2.5.0



More information about the dev mailing list