Public Member Functions | Static Public Attributes | List of all members
util::IoFiberProperties Class Reference
+ Inheritance diagram for util::IoFiberProperties:
+ Collaboration diagram for util::IoFiberProperties:

Public Member Functions

 IoFiberProperties (::boost::fibers::context *ctx)
 
unsigned nice_level () const
 
void SetNiceLevel (unsigned p)
 
void set_name (std::string nm)
 
const std::string & name () const
 
uint64_t resume_ts () const
 
uint64_t awaken_ts () const
 

Static Public Attributes

static constexpr unsigned MAX_NICE_LEVEL = 4
 
static constexpr unsigned NUM_NICE_LEVELS = MAX_NICE_LEVEL + 1
 

Detailed Description

Definition at line 18 of file io_context.h.

Member Function Documentation

◆ resume_ts()

uint64_t util::IoFiberProperties::resume_ts ( ) const
inline

Returns ts in usec from which fiber has been active. The timestamp is measured by base::GetMonotonicMicrosFast() and has 100usec precision.

Definition at line 42 of file io_context.h.


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