18 GB_ULONG mem_to_flush = blocks_to_flush*256;
21 unsigned char *mem = (
unsigned char *)malloc(mem_to_flush);
24 for (
GB_ULONG p = 0; p<mem_to_flush; ++p) {
25 mem[p] = (
unsigned char)p;
26 if (!mem[p]) ++progress;
33 for (
GB_ULONG p = 0; p<mem_to_flush; ++p) {
35 if (!mem[p]) ++progress;
38 printf(
"done with sum=%lu\n", sum);
int ARB_main(int, char *[])
const char * GBS_readable_size(unsigned long long size, const char *unit_suffix)
GB_ULONG GB_get_usable_memory(void)