libzmq master
The Intelligent Transport Layer
Functions

zmq_utils.cpp File Reference

#include "platform.hpp"
#include "../include/zmq_utils.h"
#include <stdlib.h>
#include "stdint.hpp"
#include "clock.hpp"
#include "err.hpp"
#include <unistd.h>
Include dependency graph for zmq_utils.cpp:

Go to the source code of this file.

Functions

void zmq_sleep (int seconds_)
void * zmq_stopwatch_start ()
unsigned long zmq_stopwatch_stop (void *watch_)

Function Documentation

void zmq_sleep ( int  seconds_)

Definition at line 38 of file zmq_utils.cpp.

Referenced by main(), and worker().

Here is the caller graph for this function:

void* zmq_stopwatch_start ( void  )

Definition at line 47 of file zmq_utils.cpp.

References alloc_assert, and zmq::clock_t::now_us().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned long zmq_stopwatch_stop ( void *  watch_)

Definition at line 55 of file zmq_utils.cpp.

References zmq::clock_t::now_us().

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Defines