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

Function test_prefetch

dpdk/app/test/test_prefetch.c:20–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 */
19
20static int
21test_prefetch(void)
22{
23 int a = 0;
24
25 rte_prefetch0(&a);
26 rte_prefetch1(&a);
27 rte_prefetch2(&a);
28
29 rte_prefetch0_write(&a);
30 rte_prefetch1_write(&a);
31 rte_prefetch2_write(&a);
32
33 rte_cldemote(&a);
34
35 return 0;
36}
37
38REGISTER_FAST_TEST(prefetch_autotest, true, true, test_prefetch);

Callers

nothing calls this directly

Calls 7

rte_prefetch0_writeFunction · 0.85
rte_prefetch1_writeFunction · 0.85
rte_prefetch2_writeFunction · 0.85
rte_prefetch0Function · 0.50
rte_prefetch1Function · 0.50
rte_prefetch2Function · 0.50
rte_cldemoteFunction · 0.50

Tested by

no test coverage detected