Commit Graph

77 Commits

Author SHA1 Message Date
Timothee "TTimo" Besset
5973b4c665 Windows friendly replacement for gettimeofday 2013-03-31 09:10:56 -05:00
Bjorn Reese
7e37cc8ed4 Linux build fails due to undeclared variable 2013-03-05 11:52:47 +01:00
KIU Shueng Chuan
3176509e60 include source directory version of zmq.h and zmq_utils.h
this follows what {local,remote}_lat.cpp and inproc_{thr,lat}.cpp do.
2013-03-03 15:28:00 +08:00
KIU Shueng Chuan
402f9fd243 remote_thr.cpp: port pthreads usage to win32 api 2013-03-03 15:18:54 +08:00
Attila Mark
a22714dd79 Improvements and fixes for performance of PUSH/PULL in local_thr and remote_thr.
- option to set number of zmq threads on the command line for local_thr
- option to set number of zmq_threads and workers in remote_thr
- option to set SND/RCV buffer sizes on command line
- option to set whether to PUSH/PULL on command line
- option to set to use zmq_recv or zmq_msg for transfer on command line
- better timing function
- corrected and improved throughput reporting
- HWM and DELAY socket options
2013-02-26 12:10:27 -08:00
Pieter Hintjens
066f3d2c9b Fixed overflow in local_thr results calculation 2013-02-25 14:13:15 +01:00
Matt Arsenault
a1d6a222ed Generated header is not in ../src/ 2013-01-02 03:24:10 -05:00
Mikko Koppanen
da1920d944 Revert NULL checks in the API 2012-02-17 09:48:04 +00:00
Pieter Hintjens
0efb49f12f Fixed up all references to zmq_msg_size 2012-02-16 12:26:00 -06:00
Philip Kovacs
bf9062902c Fix broken VPATH/parallel builds
Signed-off-by: Philip Kovacs <phil@philkovacs.com>
2011-11-21 08:10:03 +01:00
Martin Sustrik
8e21d64c97 Copyright dates adjusted to reflect reality
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-11-01 18:06:11 +01:00
Martin Sustrik
ac7717b7b3 250bpm copyrights added
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-10-31 16:20:30 +01:00
Martin Sustrik
5b77a41eaf Throughput tests fixed.
Introduction of subscription forwarding have broken throughput tests.
This patch changes the pattern used in the tests to PUSH/PULL.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-19 09:22:11 +02:00
Fabien Ninoles
d7923f08ca Add sockopt ZMQ_RCVTIMEO/ZMQ_SNDTIMEO.
- Add doc and tests
- Add options and setup
- Wait using poll/select

Signed-off-by: Fabien Ninoles <fabien@tzone.org>
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-06-17 12:22:02 +02:00
Martin Sustrik
8203c4dbb2 Another error handling issue on Win32 solved
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-04 13:12:46 +02:00
Martin Sustrik
85c2a84036 inproc perf tests now work on Windows
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-04-02 09:50:35 +02:00
Robert G. Jakabosky
d84558e172 Adding thread latency/throughput perf. examples.
Signed-off-by: Robert G. Jakabosky <bobby@sharedrealm.com>
2011-03-31 23:14:38 +02:00
Martin Sustrik
fb27a000d9 send/recv was changed to send/recv/sendmsg/recvmsg
send/recv now complies with POSIX by using raw buffers instead
of message objects and by returning number of bytes sent/recvd
instead of 0/-1.

The return value is changed accordingly for sendmsg and recvmsg.

Note that related man pages will be fixed in a separate patch.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-24 11:53:55 +01:00
Martin Sustrik
18b9ebea32 The copyrights in file headers updated.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2011-03-02 16:30:40 +01:00
Martin Sustrik
b358df9fff Name of "GNU Lesser Public License" corrected.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
2010-10-30 15:08:28 +02:00
Martin Sustrik
5a731e73c8 added ZMQ_MAKE_VALGRIND_HAPPY compile-time option 2010-08-25 15:39:20 +02:00
Martin Hurton
66470b2c55 perf: fix typo 2010-07-26 12:24:00 +02:00
Martin Sustrik
7f01e9970d stopwatch returned to libzmq 2010-06-17 16:51:53 +02:00
Martin Sustrik
cf048bb1f8 platform.hpp for MSVC contains only very basic stuff 2010-06-04 16:29:36 +02:00
Martin Sustrik
927993863e MSVC build fixed 2010-06-04 15:47:22 +02:00
Martin Sustrik
67ca7dcbe6 obsolete API elements removed - this commit breaks backward compatibility 2010-06-04 15:24:06 +02:00
Martin Lucina
606c77368c Move perf helper functions to perf/helpers.cpp 2010-06-04 14:48:49 +02:00
Martin Lucina
05b4a7ae78 Remove PGM examples from build 2010-06-04 13:58:49 +02:00
Martin Lucina
b668387d91 Remove -Wxxx gcc-isms from subdir Makefiles 2010-04-10 17:04:33 +02:00
Martin Lucina
f6fa41dd7b Compile perf tests with the C++ compiler
This lets us build the binaries in a portable fashion w/o having to worry
about how to link with the C++ runtime.
2010-04-10 16:51:22 +02:00
Martin Sustrik
ae35a1644c fix include paths in perf on Win32 2010-03-16 19:02:50 +01:00
Martin Sustrik
c08a7f8896 C perf tests are built non-optionally; C++ perf tests removed 2010-03-12 20:02:19 +01:00
Martin Lucina
27e2d08449 Restructure language bindings
C and C++ headers moved from bindings/ to include/, bindings/ removed
--with-c and --with-cpp options to configure removed, C and C++ now built
and installed by default
2010-03-11 20:33:27 +01:00
Martin Lucina
90944759b6 Removed Java binding from core distribution 2010-03-11 20:12:55 +01:00
Martin Sustrik
ea0a44c8a9 Ruby binding removed 2010-02-27 14:18:02 +01:00
Martin Sustrik
45414b5444 python binding removed 2010-02-27 12:23:22 +01:00
Martin Sustrik
33cb20a747 ZMQII-77: Put librbzmq symbols into ZMQ module 2010-02-16 23:31:17 +01:00
Martin Lucina
afb526f31a Fix 'make dist' to work with no special magic 2010-02-16 00:11:38 +01:00
Martin Lucina
80c820d758 Cleaning up more PGM cruft 2010-02-15 23:51:05 +01:00
Martin Sustrik
849095a042 Merge branch 'master' of git@github.com:sustrik/zeromq2 2010-01-28 12:45:37 +01:00
Martin Sustrik
f17f0fa67b CL binding ripped out of the tree 2010-01-28 12:45:12 +01:00
malosek
8f57ff4634 fixed OpenPGM compilation on mingw32 2010-01-27 20:45:43 +01:00
malosek
0b97e7a4f2 libpgm updated to 2.6.21rc6 2010-01-27 11:30:22 +01:00
Martin Sustrik
7094edd6ba error handling in C perf tests improved 2010-01-18 15:57:33 +01:00
Martin Sustrik
ef049efe2e perf tests modified to reflect change in subscription format 2010-01-05 14:45:10 +01:00
Martin Sustrik
4f6baf4dde Copyrights transferred from FastMQ to iMatix 2010-01-05 08:29:35 +01:00
Martin Sustrik
6fcdc5fa69 common lisp binding & perf tests added 2009-12-03 10:14:07 +01:00
Martin Sustrik
8d85638f77 memory leak in message encoder fixed 2009-11-26 12:01:26 +01:00
malosek
8b08047cb0 added --with-pgm2-examples configure option 2009-10-19 19:00:04 +02:00
Martin Sustrik
088a2db674 ZMQII-16: Change "struct zmq_msg_t" to "zmq_msg_t" in C binding 2009-09-23 10:22:54 +02:00