| 8 | |
| 9 | template <typename T> |
| 10 | void TestAllocPromise(const NBench::NCpu::TParams& iface) { |
| 11 | for (const auto it : xrange(iface.Iterations())) { |
| 12 | Y_UNUSED(it); |
| 13 | Y_DO_NOT_OPTIMIZE_AWAY(NewPromise<T>()); |
| 14 | } |
| 15 | } |
| 16 | |
| 17 | template <typename T> |
| 18 | TPromise<T> SetPromise(T value) { |
nothing calls this directly
no test coverage detected