eal/arm: add cpu cycle operations for ARMv7
authorVlastimil Kosar <kosar@rehivetech.com>
Mon, 2 Nov 2015 23:47:16 +0000 (00:47 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Wed, 18 Nov 2015 21:38:05 +0000 (22:38 +0100)
commit87d33b6f64ebc3ea8576739421d4d8f70c0f2a31
treedf161774fc77f427f742296f070da95a935dd822
parentde966ccdcd7fc792d0e9b675b001cb5a98a96bdf
eal/arm: add cpu cycle operations for ARMv7

ARM architecture doesn't have a suitable source of CPU cycles. This
patch uses clock_gettime instead. The implementation should be improved
in the future.

Signed-off-by: Vlastimil Kosar <kosar@rehivetech.com>
Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
Acked-by: David Marchand <david.marchand@6wind.com>
lib/librte_eal/common/include/arch/arm/rte_cycles.h [new file with mode: 0644]
lib/librte_eal/common/include/arch/arm/rte_cycles_32.h [new file with mode: 0644]