Lines Matching refs:size
37 typedef struct { uint16_t size; uint16_t freq; } freq_data_t; member
74 int i, j, freq, size, n; in init_strlen_distribution() local
77 for (j = 0, size = strlen_len_freq[i].size; j < freq; j++) in init_strlen_distribution()
78 strlen_len_arr[n++] = size; in init_strlen_distribution()
82 for (j = 0, size = string_align_freq[i].align; j < freq; j++) in init_strlen_distribution()
83 strlen_align_arr[n++] = size; in init_strlen_distribution()
152 for (int size = 1; size <= 64; size *= 2) in strlen_small_aligned() local
154 memset (a, 'x', size); in strlen_small_aligned()
155 a[size - 1] = 0; in strlen_small_aligned()
161 printf ("%d%c: %5.2f ", size < 1024 ? size : size / 1024, in strlen_small_aligned()
162 size < 1024 ? 'B' : 'K', (double)size * ITERS2 / t); in strlen_small_aligned()
175 for (int size = 1; size <= 64; size *= 2) in strlen_small_unaligned() local
177 memset (a + align, 'x', size); in strlen_small_unaligned()
178 a[align + size - 1] = 0; in strlen_small_unaligned()
184 printf ("%d%c: %5.2f ", size < 1024 ? size : size / 1024, in strlen_small_unaligned()
185 size < 1024 ? 'B' : 'K', (double)size * ITERS2 / t); in strlen_small_unaligned()
197 for (int size = 128; size <= 4096; size *= 2) in strlen_medium() local
199 memset (a, 'x', size); in strlen_medium()
200 a[size - 1] = 0; in strlen_medium()
206 printf ("%d%c: %5.2f ", size < 1024 ? size : size / 1024, in strlen_medium()
207 size < 1024 ? 'B' : 'K', (double)size * ITERS3 / t); in strlen_medium()