Lines Matching refs:_size
30 : _size(0), in BandwidthBenchmark()
36 if (_size == 0) { in run()
49 _mb_per_sec = (_size*(_num_loops/_BYTES_PER_MB))/(t/_NUM_NS_PER_SEC); in run()
76 size_t size() { return _size; } in size()
91 size_t _size; variable
114 _size = DEFAULT_COPY_SIZE; in setSize()
116 _size = size; in setSize()
119 _src = reinterpret_cast<char*>(memalign(64, _size)); in setSize()
124 _dst = reinterpret_cast<char*>(memalign(64, _size)); in setSize()
144 memset(_src, 0x23, _size); in verify()
145 memset(_dst, 0, _size); in verify()
147 if (memcmp(_src, _dst, _size) != 0) { in verify()
152 memset(_src, 0x23, _size); in verify()
153 memset(_dst, 0, _size); in verify()
156 if (memcmp(_src, _dst, _size) != 0) { in verify()
221 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
260 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
302 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
361 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
404 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
421 memcpy(_dst, _src, _size); in bench()
443 _size = DEFAULT_SINGLE_BUFFER_SIZE; in setSize()
445 _size = size; in setSize()
448 _buffer = reinterpret_cast<char*>(memalign(64, _size)); in setSize()
453 memset(_buffer, 0, _size); in setSize()
472 memset(_buffer, 0, _size); in verify()
474 for (size_t i = 0; i < _size; i++) { in verify()
481 memset(_buffer, 0, _size); in verify()
483 for (size_t i = 0; i < _size; i++) { in verify()
534 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
579 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
623 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
674 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
721 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
738 memset(_buffer, (i % 255) + 1, _size); in bench()
777 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
811 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
848 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
892 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
933 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()