Skip to content

Commit

Permalink
fixed some build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcfee committed Mar 17, 2017
1 parent 3f8edb8 commit 5ffc850
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/example2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This document will walk through some advanced usage of pescador.
We will assume a working understanding of the simple example in the previous section.

Stream re-use and multiplexing
================
==============================

The `Mux` streamer provides a powerful interface for randomly interleaving samples from multiple input streams.
`Mux` can also dynamically activate and deactivate individual `Streamers`, which allows it to operate on a bounded subset of streams at any given time.
Expand Down
7 changes: 5 additions & 2 deletions examples/zmq/zmq_simple_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
==================
Simple ZMQ Example
==================
An example of how to use a ZMQStreamer to generate samples,
with some small benchmarks along the way.
"""
Expand Down Expand Up @@ -67,5 +68,7 @@ def batch_gen():

duration = time.time() - t0
print("Generated {} batches of {} samples from Buffered ZMQ Streamer"
"\n\tin {:.5f}s ({:.5f} / sample)".format(
iter_count, batch_count, duration, duration / batch_count))
"\n\tin {:.5f}s ({:.5f} / sample)".format(iter_count,
batch_count,
duration,
duration / batch_count))

0 comments on commit 5ffc850

Please sign in to comment.