![]() |
libzmq
master
ZeroMQ C++ Core Engine (LIBZMQ)
|
#include <clock.hpp>
Public Member Functions | |
clock_t () | |
~clock_t () | |
uint64_t | now_ms () |
Static Public Member Functions | |
static uint64_t | now_us () |
static uint64_t | rdtsc () |
Private Member Functions | |
clock_t (const clock_t &) | |
const clock_t & | operator= (const clock_t &) |
Private Attributes | |
uint64_t | last_time |
uint64_t | last_tsc |
|
private |
uint64_t zmq::clock_t::now_ms | ( | ) |
Definition at line 182 of file clock.cpp.
References zmq::clock_precision, last_time, last_tsc, likely, now_us(), and rdtsc().
Referenced by zmq::timers_t::add(), zmq::poller_base_t::add_timer(), zmq::timers_t::execute(), zmq::poller_base_t::execute_timers(), zmq::socket_base_t::recv(), zmq::timers_t::reset(), zmq::socket_base_t::send(), zmq::timers_t::set_interval(), zmq::timers_t::timeout(), zmq::socket_poller_t::wait(), and zmq_poll().
|
static |
Definition at line 133 of file clock.cpp.
References errno_assert.
Referenced by now_ms(), zmq_stopwatch_start(), and zmq_stopwatch_stop().
|
static |
Definition at line 215 of file clock.cpp.
Referenced by now_ms(), and zmq::socket_base_t::process_commands().
|
private |