Clock cycles per nano second */
| 21 | |
| 22 | /** Clock cycles per nano second */ |
| 23 | static uint64_t |
| 24 | latencystat_cycles_per_ns(void) |
| 25 | { |
| 26 | return rte_get_timer_hz() / NS_PER_SEC; |
| 27 | } |
| 28 | |
| 29 | /* Macros for printing using RTE_LOG */ |
| 30 | #define RTE_LOGTYPE_LATENCY_STATS RTE_LOGTYPE_USER1 |
no outgoing calls
no test coverage detected