userver: utils::ScopeTimePause Class Reference
Loading...
Searching...
No Matches
utils::ScopeTimePause Class Reference

#include <userver/utils/cpu_relax.hpp>

Detailed Description

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.
 

The documentation for this class was generated from the following file: