Lines Matching refs:state
25 static void BM_MemcpyToFloatFromFloatWithClamping(benchmark::State& state) { in BM_MemcpyToFloatFromFloatWithClamping() argument
26 const size_t count = state.range(0); in BM_MemcpyToFloatFromFloatWithClamping()
27 const float srcMax = state.range(1); in BM_MemcpyToFloatFromFloatWithClamping()
43 while (state.KeepRunning()) { in BM_MemcpyToFloatFromFloatWithClamping()
51 state.SkipWithError("Incorrect clamping!"); in BM_MemcpyToFloatFromFloatWithClamping()
53 state.SetComplexityN(state.range(0)); in BM_MemcpyToFloatFromFloatWithClamping()
58 static void BM_MemcpyFloat(benchmark::State& state) { in BM_MemcpyFloat() argument
59 const size_t count = state.range(0); in BM_MemcpyFloat()
72 while (state.KeepRunning()) { in BM_MemcpyFloat()
80 state.SkipWithError("Incorrect memcpy!"); in BM_MemcpyFloat()
82 state.SetComplexityN(state.range(0)); in BM_MemcpyFloat()
87 static void BM_MemcpyToFloatFromI16(benchmark::State& state) { in BM_MemcpyToFloatFromI16() argument
88 const size_t count = state.range(0); in BM_MemcpyToFloatFromI16()
101 while (state.KeepRunning()) { in BM_MemcpyToFloatFromI16()
108 state.SetComplexityN(state.range(0)); in BM_MemcpyToFloatFromI16()
114 static void BM_MemcpyToI16FromFloat(benchmark::State& state) { in BM_MemcpyToI16FromFloat() argument
115 const size_t count = state.range(0); in BM_MemcpyToI16FromFloat()
128 while (state.KeepRunning()) { in BM_MemcpyToI16FromFloat()
135 state.SetComplexityN(state.range(0)); in BM_MemcpyToI16FromFloat()