Lines Matching refs:count

26     const size_t count = state.range(0);  in BM_MemcpyToFloatFromFloatWithClamping()  local
30 std::vector<float> src(count); in BM_MemcpyToFloatFromFloatWithClamping()
31 std::vector<float> dst(count); in BM_MemcpyToFloatFromFloatWithClamping()
32 std::vector<float> expected(count); in BM_MemcpyToFloatFromFloatWithClamping()
35 std::minstd_rand gen(count); in BM_MemcpyToFloatFromFloatWithClamping()
37 for (size_t i = 0; i < count; i++) { in BM_MemcpyToFloatFromFloatWithClamping()
46 memcpy_to_float_from_float_with_clamping(dst.data(), src.data(), count, 1.413); in BM_MemcpyToFloatFromFloatWithClamping()
59 const size_t count = state.range(0); in BM_MemcpyFloat() local
61 std::vector<float> src(count); in BM_MemcpyFloat()
62 std::vector<float> dst(count); in BM_MemcpyFloat()
65 std::minstd_rand gen(count); in BM_MemcpyFloat()
67 for (size_t i = 0; i < count; i++) { in BM_MemcpyFloat()
75 memcpy(dst.data(), src.data(), count * sizeof(float)); in BM_MemcpyFloat()
88 const size_t count = state.range(0); in BM_MemcpyToFloatFromI16() local
90 std::vector<int16_t> src(count); in BM_MemcpyToFloatFromI16()
91 std::vector<float> dst(count); in BM_MemcpyToFloatFromI16()
94 std::minstd_rand gen(count); in BM_MemcpyToFloatFromI16()
96 for (size_t i = 0; i < count; i++) { in BM_MemcpyToFloatFromI16()
104 memcpy_to_float_from_i16(dst.data(), src.data(), count); in BM_MemcpyToFloatFromI16()
115 const size_t count = state.range(0); in BM_MemcpyToI16FromFloat() local
117 std::vector<float> src(count); in BM_MemcpyToI16FromFloat()
118 std::vector<int16_t> dst(count); in BM_MemcpyToI16FromFloat()
121 std::minstd_rand gen(count); in BM_MemcpyToI16FromFloat()
123 for (size_t i = 0; i < count; i++) { in BM_MemcpyToI16FromFloat()
131 memcpy_to_i16_from_float(dst.data(), src.data(), count); in BM_MemcpyToI16FromFloat()