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

Function init_port_ts

dpdk/app/test/test_pie.c:112–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110static double inv_cycles_per_byte;
111
112static void init_port_ts(uint64_t cpu_clock)
113{
114 double cycles_per_byte = (double)(cpu_clock) / (double)(port_speed_bytes);
115 inv_cycles_per_byte = 1.0 / cycles_per_byte;
116}
117
118static uint64_t get_port_ts(void)
119{

Callers 1

test_rte_pie_initFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected