| David Reiss | 3000b5b | 2008-03-31 21:38:29 +0000 | [diff] [blame] | 1 | # This probably should not go into "make check", because it is an experiment, | 
|  | 2 | # not a test.  Specifically, it is meant to determine how likely realloc is | 
|  | 3 | # to avoid a copy.  This is poorly documented. | 
|  | 4 |  | 
|  | 5 | run: realloc_test | 
|  | 6 | for it in 1 4 64 ; do \ | 
|  | 7 | for nb in 1 8 64 512 ; do \ | 
|  | 8 | for mins in 64 512 ; do \ | 
|  | 9 | for maxs in 2048 262144 ; do \ | 
|  | 10 | for db in 8 64 ; do \ | 
|  | 11 | ./realloc_test $$nb $$mins $$maxs $$db $$it \ | 
|  | 12 | ; done \ | 
|  | 13 | ; done \ | 
|  | 14 | ; done \ | 
|  | 15 | ; done \ | 
|  | 16 | ; done \ | 
|  | 17 | > raw_stats | 
|  | 18 |  | 
|  | 19 | CFLAGS = -Wall -g -std=c99 | 
|  | 20 | LDLIBS = -ldl | 
|  | 21 | realloc_test: realloc_test.c |