Rev 2029 | Rev 2053 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 2029 | Rev 2050 | ||
|---|---|---|---|
| Line 38... | Line 38... | ||
| 38 | 38 | ||
| 39 | #define MAX_FRAMES 1024 |
39 | #define MAX_FRAMES 1024 |
| 40 | #define MAX_ORDER 8 |
40 | #define MAX_ORDER 8 |
| 41 | #define TEST_RUNS 2 |
41 | #define TEST_RUNS 2 |
| 42 | 42 | ||
| 43 | char * test_falloc1(void) { |
43 | char * test_falloc1(bool quiet) { |
| 44 | uintptr_t * frames = (uintptr_t *) malloc(MAX_FRAMES * sizeof(uintptr_t), 0); |
44 | uintptr_t * frames = (uintptr_t *) malloc(MAX_FRAMES * sizeof(uintptr_t), 0); |
| 45 | int results[MAX_ORDER + 1]; |
45 | int results[MAX_ORDER + 1]; |
| 46 | 46 | ||
| 47 | int i, order, run; |
47 | int i, order, run; |
| 48 | int allocated; |
48 | int allocated; |