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
116 _size = DEFAULT_COPY_SIZE; in setSize()
118 _size = size; in setSize()
121 _src = reinterpret_cast<char*>(memalign(64, _size)); in setSize()
126 _dst = reinterpret_cast<char*>(memalign(64, _size)); in setSize()
146 memset(_src, 0x23, _size); in verify()
147 memset(_dst, 0, _size); in verify()
149 if (memcmp(_src, _dst, _size) != 0) { in verify()
154 memset(_src, 0x23, _size); in verify()
155 memset(_dst, 0, _size); in verify()
158 if (memcmp(_src, _dst, _size) != 0) { in verify()
223 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
262 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
304 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
363 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
406 :: "r" (_src), "r" (_dst), "r" (_size), "r" (num_loops) : "r0", "r1", "r2", "r3"); in bench()
423 memcpy(_dst, _src, _size); in bench()
445 _size = DEFAULT_SINGLE_BUFFER_SIZE; in setSize()
447 _size = size; in setSize()
450 _buffer = reinterpret_cast<char*>(memalign(64, _size)); in setSize()
455 memset(_buffer, 0, _size); in setSize()
474 memset(_buffer, 0, _size); in verify()
476 for (size_t i = 0; i < _size; i++) { in verify()
483 memset(_buffer, 0, _size); in verify()
485 for (size_t i = 0; i < _size; i++) { in verify()
536 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
581 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
625 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
676 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
723 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
740 memset(_buffer, (i % 255) + 1, _size); in bench()
779 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
813 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
850 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
894 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()
935 :: "r" (_buffer), "r" (_size), "r" (num_loops) : "r0", "r1", "r2"); in bench()