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

Function output_csv

dpdk/app/test-dma-perf/main.c:50–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48static FILE *fd;
49
50static void
51output_csv(bool need_blankline)
52{
53 uint32_t i;
54
55 if (need_blankline) {
56 fprintf(fd, ",,,,,,,,\n");
57 fprintf(fd, ",,,,,,,,\n");
58 }
59
60 for (i = 0; i < RTE_DIM(output_str); i++) {
61 if (output_str[i][0]) {
62 fprintf(fd, "%s", output_str[i]);
63 output_str[i][0] = '\0';
64 }
65 }
66
67 fflush(fd);
68}
69
70static void
71output_env_info(void)

Callers 4

output_env_infoFunction · 0.85
output_headerFunction · 0.85
run_testFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected