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

Function memtest_progress_step

app/redis-6.2.6/src/memtest.c:82–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void memtest_progress_step(size_t curr, size_t size, char c) {
83 size_t chars = ((unsigned long long)curr*progress_full)/size, j;
84
85 for (j = 0; j < chars-progress_printed; j++) printf("%c",c);
86 progress_printed = chars;
87 fflush(stdout);
88}
89
90/* Test that addressing is fine. Every location is populated with its own
91 * address, and finally verified. This test is very fast but may detect

Callers 4

memtest_addressingFunction · 0.85
memtest_fill_randomFunction · 0.85
memtest_fill_valueFunction · 0.85
memtest_compareFunction · 0.85

Calls 1

printfFunction · 0.50

Tested by

no test coverage detected