Monero
Namespaces | Classes | Typedefs | Functions
epee::misc_utils Namespace Reference

Namespaces

 parse
 

Classes

struct  call_befor_die
 
struct  call_befor_die_base
 
struct  rolling_median_t
 
struct  struct_init
 

Typedefs

typedef boost::shared_ptr< call_befor_die_baseauto_scope_leave_caller
 

Functions

bool sleep_no_w (long ms)
 
template<typename T >
T get_mid (const T &a, const T &b)
 
template<class type_vec_type >
type_vec_type median (std::vector< type_vec_type > &v)
 
template<class t_scope_leave_handler >
auto_scope_leave_caller create_scope_leave_handler (t_scope_leave_handler f)
 
bool get_gmt_time (time_t t, struct tm &tm)
 
std::string get_internet_time_str (const time_t &time_)
 
std::string get_time_interval_string (const time_t &time_)
 
uint64_t get_ns_count ()
 
uint64_t get_tick_count ()
 

Typedef Documentation

◆ auto_scope_leave_caller

Function Documentation

◆ create_scope_leave_handler()

template<class t_scope_leave_handler >
auto_scope_leave_caller epee::misc_utils::create_scope_leave_handler ( t_scope_leave_handler  f)

◆ get_gmt_time()

bool epee::misc_utils::get_gmt_time ( time_t  t,
struct tm &  tm 
)
inline

◆ get_internet_time_str()

std::string epee::misc_utils::get_internet_time_str ( const time_t &  time_)
inline

◆ get_mid()

template<typename T >
T epee::misc_utils::get_mid ( const T a,
const T b 
)

◆ get_ns_count()

uint64_t epee::misc_utils::get_ns_count ( )
inline

◆ get_tick_count()

uint64_t epee::misc_utils::get_tick_count ( )
inline

◆ get_time_interval_string()

std::string epee::misc_utils::get_time_interval_string ( const time_t &  time_)
inline

◆ median()

template<class type_vec_type >
type_vec_type epee::misc_utils::median ( std::vector< type_vec_type > &  v)

◆ sleep_no_w()

bool epee::misc_utils::sleep_no_w ( long  ms)