9#include <userver/tracing/scope_time.hpp>
11USERVER_NAMESPACE_BEGIN
28 std::string scope_name_;
48 const std::size_t every_iterations_;
49 std::size_t iterations_{0};
64 void Relax(std::uint64_t bytes_processed);
72 std::uint64_t check_time_after_bytes_;
73 std::uint64_t total_bytes_{0};
74 std::uint64_t bytes_since_last_time_check_{0};
75 std::chrono::steady_clock::time_point last_yield_time_;