eal: add helpers for time conversions
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Fri, 13 Nov 2015 16:09:08 +0000 (16:09 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 13 Nov 2015 16:44:34 +0000 (17:44 +0100)
commitb6fd85cd65157feca2b4287a33fe1bc631782eef
tree934c9ea64bef72f7d11b0e62697dcd16a22ea126
parenteb1cbcba482a0fd0c40fb25c6dce6ef3b5eab15e
eal: add helpers for time conversions

Add common functions and structures to handle time, and cycle counts
which will be used for PTP processing.

Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Reviewed-by: John McNamara <john.mcnamara@intel.com>
lib/librte_eal/common/Makefile
lib/librte_eal/common/include/rte_time.h [new file with mode: 0644]