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

Function rdtsc_prof_print

dpdk/app/test/test_red.c:161–171  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161static void rdtsc_prof_print(struct rdtsc_prof *p)
162{
163 if (p->clk_avgc>0) {
164 printf("RDTSC stats for %s: n=%" PRIu64 ", min=%" PRIu64 ", max=%" PRIu64 ", avg=%.1f\n",
165 p->name,
166 p->clk_avgc,
167 p->clk_min,
168 p->clk_max,
169 (p->clk_avg / ((double) p->clk_avgc)));
170 }
171}
172
173static uint32_t rte_red_get_avg_int(const struct rte_red_config *red_cfg,
174 struct rte_red *red)

Callers 2

perf1_testFunction · 0.70
perf2_testFunction · 0.70

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected