Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::TimeLimit Class Reference

#include <timers.h>

Collaboration diagram for Realm::TimeLimit:
[legend]

Public Member Functions

 TimeLimit ()
bool is_expired () const
bool will_expire (long long additional_nsec) const

Static Public Member Functions

static TimeLimit absolute (long long absolute_time_in_nsec, atomic< bool > *_interrupt_flag=0)
static TimeLimit relative (long long relative_time_in_nsec, atomic< bool > *_interrupt_flag=0)
static TimeLimit responsive ()

Protected Attributes

uint64_t limit_native
atomic< bool > * interrupt_flag

Constructor & Destructor Documentation

◆ TimeLimit()

Realm::TimeLimit::TimeLimit ( )

Member Function Documentation

◆ absolute()

TimeLimit Realm::TimeLimit::absolute ( long long absolute_time_in_nsec,
atomic< bool > * _interrupt_flag = 0 )
static

◆ is_expired()

bool Realm::TimeLimit::is_expired ( ) const

◆ relative()

TimeLimit Realm::TimeLimit::relative ( long long relative_time_in_nsec,
atomic< bool > * _interrupt_flag = 0 )
static

◆ responsive()

TimeLimit Realm::TimeLimit::responsive ( )
static

◆ will_expire()

bool Realm::TimeLimit::will_expire ( long long additional_nsec) const

Member Data Documentation

◆ interrupt_flag

atomic<bool>* Realm::TimeLimit::interrupt_flag
protected

◆ limit_native

uint64_t Realm::TimeLimit::limit_native
protected

The documentation for this class was generated from the following file:
  • /home/runner/work/realm/realm/realm-src/src/realm/timers.h