Lines Matching refs:bufferSize
57 int bufferSize = 16384;
132 bufferSize = size;
152 buffer = malloc(bufferSize);
153 buffer2 = malloc(bufferSize);
155 for (nn = 0; nn < bufferSize; nn++) {
163 int ret = pipe_send(pipe, buffer, bufferSize);
167 fprintf(stderr,"%d: Sending %d bytes failed: %s\n", count, bufferSize, strerror(errno));
174 len = bufferSize;
189 if (memcmp(buffer, buffer2, bufferSize) != 0) {
194 for (nn = 0; nn < bufferSize; ) {
195 int avail = bufferSize - nn;
237 printf("Total bytes: %g bytes\n", 1.0*maxCount*bufferSize);
238 printf("Bandwidth: %g MB/s\n", (maxCount*bufferSize/(1024.0*1024.0))/(time1 - time0) );