Go to the source code of this file.
◆ RANDOM
◆ SECRND
◆ SEQUEN
◆ prepareArray()
Definition at line 18 of file prepareArray.c.
18 {
19 assert(
array != NULL );
21
22 switch(pattern){
25 break;
28 break;
29 default:
30 fprintf(
stderr,
"prepareArray() unknown array access pattern: %d\n",pattern);
31 return -1;
32 break;
33 }
34 return 0;
35}
static double array[ARRAYSIZE]
volatile uintptr_t opt_killer_zero
static void _prepareArray_sections_random(uintptr_t *array, long long len, long long stride, long long secSize)
static void _prepareArray_sequential(uintptr_t *array, long long len, long long stride)