![]() |
libzmq master
The Intelligent Transport Layer
|
#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 |
zmq::clock_t::clock_t | ( | const clock_t & | ) | [private] |
uint64_t zmq::clock_t::now_ms | ( | ) |
Definition at line 75 of file clock.cpp.
References likely.
Referenced by zmq::socket_base_t::recv(), zmq::socket_base_t::send(), and zmq_poll().
uint64_t zmq::clock_t::now_us | ( | ) | [static] |
Definition at line 47 of file clock.cpp.
References errno_assert.
Referenced by zmq_stopwatch_start(), and zmq_stopwatch_stop().
uint64_t zmq::clock_t::rdtsc | ( | ) | [static] |
Definition at line 94 of file clock.cpp.
Referenced by zmq::socket_base_t::process_commands().
uint64_t zmq::clock_t::last_time [private] |
uint64_t zmq::clock_t::last_tsc [private] |