test_memset.c | 82 testone(char *tag, void (*fn)(), int trials, int minbytes, int maxbytes, int size, int threshold) 96 n = minbytes + (rand() % (maxbytes-minbytes)); /* How many bytes to do */ 188 int minbytes, maxbytes; member in struct:__anon43949 225 sprintf(tag, "%10s: %7s %4d-%4d", fp->name, pp->type, pp->minbytes, pp->maxbytes); 228 threshold = pp->maxbytes * 4 * 10; /* reasonable for cycles and ns */ 229 testone(tag, fp->fn, pp->trials, pp->minbytes, pp->maxbytes, fp->size, threshold);
|