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

Reply via email to