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

Function rdtsc_prof_print

dpdk/app/test/test_pie.c:150–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150static void rdtsc_prof_print(struct rdtsc_prof *p)
151{
152 if (p->clk_avgc > 0) {
153 printf("RDTSC stats for %s: n=%" PRIu64 ", min=%" PRIu64
154 ",max=%" PRIu64 ", avg=%.1f\n",
155 p->name,
156 p->clk_avgc,
157 p->clk_min,
158 p->clk_max,
159 (p->clk_avg / ((double) p->clk_avgc)));
160 }
161}
162
163static uint16_t rte_pie_get_active(const struct rte_pie_config *pie_cfg,
164 struct rte_pie *pie)

Callers 2

perf_testFunction · 0.70
perf_test2Function · 0.70

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected