examples/ip_pipeline: fix timer period unit
authorBao-Long Tran <longtb5@viettel.com.vn>
Wed, 31 Jan 2018 08:48:16 +0000 (15:48 +0700)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 6 Feb 2018 18:45:29 +0000 (19:45 +0100)
commit07b7b0b5a922a44c24252cb62e4ebba3b8774674
tree7a6273f0d1e625d8e4f06c613d8165ac9f8357db
parent6726521997fcb35cd1ad5a7ec806772c9f6f39c8
examples/ip_pipeline: fix timer period unit

The timer_period option specified by users via config file
should have unit of 1 millisecond. However timer_period is
internally converted to unit of 10 millisecond.

Fixes: 4e14069328fc ("examples/ip_pipeline: measure CPU utilization")
Cc: stable@dpdk.org
Signed-off-by: Bao-Long Tran <longtb5@viettel.com.vn>
Reviewed-by: Jasvinder Singh <jasvinder.singh@intel.com>
examples/ip_pipeline/init.c