Commit 27e4d722 authored by Thanassis Tsiodras's avatar Thanassis Tsiodras

Add some comments.

parent 7a5a4654
......@@ -17,7 +17,7 @@ void memcheck()
0x55AA55AA,
};
unsigned primes[] = { 3, 7, 31, 127 };
size_t space = 512*1024;
size_t space = 512*1024; // Allocated test memory space starts at 512K
void *p = malloc(space);
int i;
......@@ -26,7 +26,7 @@ void memcheck()
free(p);
printf(".");
fflush(stdout);
space += 1024*1024;
space += 1024*1024; // test memory increases in 1MB increments
p = malloc(space);
}
space -= 1024*1024;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment