#include <userver/utils/cpu_relax.hpp>
Utility to easily pause ScopeTime, e.g. when yielding.
Definition at line 16 of file cpu_relax.hpp.
Public Member Functions | |
ScopeTimePause (tracing::ScopeTime *scope) | |
void | Pause () |
Pause a ScopeTime, if any. | |
void | Unpause () |
Unpause the ScopeTime, if any. | |