My list:
- foo
- bar
- qux
#!/usr/bin/env python | |
from nanomsg import Socket, PUB | |
import time | |
import sys | |
pub = Socket(PUB) | |
pub.bind('tcp://127.0.0.1:5000') | |
# Publishes 1MB of data per second. |
2018-02-19T22:28:27Z [monitor] gain: 2.55, freq: -930.8, omega: 2.589, vit(avg): 255, rs(sum): 46, packets: 59, drops: 0 | |
2018-02-19T22:28:28Z [monitor] gain: 2.55, freq: -921.7, omega: 2.589, vit(avg): 247, rs(sum): 40, packets: 55, drops: 0 | |
2018-02-19T22:28:29Z [monitor] gain: 2.57, freq: -904.6, omega: 2.589, vit(avg): 253, rs(sum): 34, packets: 56, drops: 0 | |
2018-02-19T22:28:30Z [monitor] gain: 2.59, freq: -910.9, omega: 2.589, vit(avg): 255, rs(sum): 53, packets: 58, drops: 0 | |
2018-02-19T22:28:31Z [monitor] gain: 2.59, freq: -891.6, omega: 2.589, vit(avg): 252, rs(sum): 56, packets: 56, drops: 0 | |
2018-02-19T22:28:32Z [monitor] gain: 2.59, freq: -931.1, omega: 2.589, vit(avg): 251, rs(sum): 53, packets: 56, drops: 0 | |
2018-02-19T22:28:33Z [monitor] gain: 2.59, freq: -918.9, omega: 2.589, vit(avg): 260, rs(sum): 54, packets: 58, drops: 0 | |
2018-02-19T22:28:34Z [monitor] gain: 2.57, freq: -901.9, omega: 2.589, vit(avg): 288, rs(sum): 97, packets: 56, drops: 0 | |
2018-02- |
https://gist.github.com/pietern/90b87f9ae3ef9ec37caaeff1521d9b6f |
pi@goes16:~ $ ./benchmark | |
AGC (block size=131072) | |
Time spent in work(): 3.994s | |
Time per block: 1844784ns | |
Samples per second: 71.050M | |
Costas (block size=131072) | |
Time spent in work(): 3.998s | |
Time per block: 6500052ns | |
Samples per second: 20.165M | |
FIR (N=31, block size=131072) |
#!/usr/bin/env python | |
# | |
# allreduce_loop.py | |
# | |
# Showcase for how to use Gloo collectives from Caffe2. | |
# For rendezvous, this example can use a shared filesystem, Redis, or MPI. | |
# | |
# To use a shared filesystem for rendezvous, use: | |
# | |
# python ./allreduce_loop.py \ |
gistup |
commit 8d1f0719776e92837ef3ab3f2b895f057e4a9c36 | |
Author: Pieter Noordhuis <[email protected]> | |
Date: Tue Aug 16 19:31:14 2016 -0700 | |
Support IPv6 link-local addresses | |
Link-local addresses use a single prefix (fe:80) so a routing table | |
doesn't help figuring out which interface to transmit it on. The Linux | |
IPv6 implementation asks application developers to populate the | |
`sin6_scope_id` field on the `sockaddr_in6` struct with the index of the |
commit 19917b7bc38c4ffe6975c25ae76d31fb9f582dfd | |
Author: Pieter Noordhuis <[email protected]> | |
Date: Tue Aug 16 19:29:19 2016 -0700 | |
Fix IPv6 supporting in OOB and TCP BTL | |
diff --git a/1.10.2/src/openmpi-1.10.2/ompi/mca/btl/tcp/btl_tcp_endpoint.c b/1.10.2/src/openmpi-1.10.2/ompi/mca/btl/tcp/btl_tcp_endpoint.c | |
index c444390..7be03a7 100644 | |
--- a/1.10.2/src/openmpi-1.10.2/ompi/mca/btl/tcp/btl_tcp_endpoint.c | |
+++ b/1.10.2/src/openmpi-1.10.2/ompi/mca/btl/tcp/btl_tcp_endpoint.c |
diff --git a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LambdaHandler.java b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LambdaHandler.java | |
index ae7392a..efa985f 100644 | |
--- a/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LambdaHandler.java | |
+++ b/src/main/java/com/puppycrawl/tools/checkstyle/checks/indentation/LambdaHandler.java | |
@@ -47,17 +47,26 @@ public class LambdaHandler extends AbstractExpressionHandler { | |
@Override | |
protected IndentLevel getLevelImpl() { | |
- // If the start of the lambda isn't the first element on the line, | |
- // use the start of the line as the reference indentation level. |