On Fri, 30 Oct 2015 11:51:23 +0000 David Hunt <david.hunt at intel.com> 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 CONFIG_RTE_TIMER_MULTIPLIER. Jan > + return tsc; > +#endif > + > +} > + -- Jan Viktorin E-mail: Viktorin at RehiveTech.com System Architect Web: www.RehiveTech.com RehiveTech Brno, Czech Republic