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

Function memtest_compare_times

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

Source from the content-addressed store, hash-verified

216}
217
218int memtest_compare_times(unsigned long *m, size_t bytes, int pass, int times,
219 int interactive)
220{
221 int j;
222 int errors = 0;
223
224 for (j = 0; j < times; j++) {
225 if (interactive) memtest_progress_start("Compare",pass);
226 errors += memtest_compare(m,bytes,interactive);
227 if (interactive) memtest_progress_end();
228 }
229 return errors;
230}
231
232/* Test the specified memory. The number of bytes must be multiple of 4096.
233 * If interactive is true the program exists with an error and prints

Callers 2

memtest_testFunction · 0.85
memtest_preserving_testFunction · 0.85

Calls 3

memtest_progress_startFunction · 0.85
memtest_compareFunction · 0.85
memtest_progress_endFunction · 0.85

Tested by

no test coverage detected