On Fri, 30 Oct 2015 11:51:23 +
David Hunt wrote:
> +static inline uint64_t
> +rte_rdtsc(void)
> +{
> + uint64_t tsc;
> +
> + asm volatile("mrs %0, CNTVCT_EL0" : "=r" (tsc));
> +
> +#ifdef RTE_TIMER_MULTIPLIER
> + return tsc * RTE_TIMER_MULTIPLIER;
> +#else
I think, this should be
On 30/10/2015 12:44, Jan Viktorin wrote:
> On Fri, 30 Oct 2015 11:51:23 +
> David Hunt wrote:
>
>> +static inline uint64_t
>> +rte_rdtsc(void)
>> +{
>> +uint64_t tsc;
>> +
>> +asm volatile("mrs %0, CNTVCT_EL0" : "=r" (tsc));
>> +
>> +#ifdef RTE_TIMER_MULTIPLIER
>> +return tsc * RTE
Signed-off-by: David Hunt
---
.../common/include/arch/arm/rte_cycles.h | 4 ++
.../common/include/arch/arm/rte_cycles_64.h| 77 ++
2 files changed, 81 insertions(+)
create mode 100644 lib/librte_eal/common/include/arch/arm/rte_cycles_64.h
diff --git a/lib/
3 matches
Mail list logo