userver: userver/utils/cpu_relax.hpp File Reference
Loading...
Searching...
No Matches
cpu_relax.hpp File Reference

Detailed Description

Helper classes to yield in CPU intensive places.

Definition in file cpu_relax.hpp.

Go to the source code of this file.

#include <chrono>
#include <cstddef>
#include <userver/tracing/scope_time.hpp>
+ Include dependency graph for cpu_relax.hpp:
+ This graph shows which files directly or indirectly include this file:

Classes

class  utils::ScopeTimePause
 Utility to easily pause ScopeTime, e.g. when yielding. More...
 
class  utils::CpuRelax
 
class  utils::StreamingCpuRelax
 

Namespaces

namespace  utils
 Utilities.