#include "generic/rte_cycles.h"
+#include <rte_byteorder.h>
+#include <rte_common.h>
+
/**
* Read the time base register.
*
{
union {
uint64_t tsc_64;
+ RTE_STD_C11
struct {
+#if RTE_BYTE_ORDER == RTE_BIG_ENDIAN
uint32_t hi_32;
uint32_t lo_32;
+#else
+ uint32_t lo_32;
+ uint32_t hi_32;
+#endif
};
} tsc;
uint32_t tmp;