MCPcopy Create free account
hub / github.com/F-Stack/f-stack / latencystat_cycles_per_ns

Function latencystat_cycles_per_ns

dpdk/lib/latencystats/rte_latencystats.c:23–27  ·  view source on GitHub ↗

Clock cycles per nano second */

Source from the content-addressed store, hash-verified

21
22/** Clock cycles per nano second */
23static uint64_t
24latencystat_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

Callers 3

rte_latencystats_updateFunction · 0.85
rte_latencystats_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected