Commit 7bc0e9e9 authored by Andreas Schmidt's avatar Andreas Schmidt

Fix time-* programs.

parent fbc5ed58
Pipeline #2208 failed with stages
in 1 minute and 12 seconds
...@@ -109,7 +109,7 @@ static inline void _close(socket_t conn) ...@@ -109,7 +109,7 @@ static inline void _close(socket_t conn)
typedef PrrtSocket *socket_t; typedef PrrtSocket *socket_t;
static inline socket_t _open_sender(struct arguments *args) { static inline socket_t _open_sender(struct arguments *args) {
PrrtSocket *s = PrrtSocket_create(true, 300 * 1000); PrrtSocket *s = PrrtSocket_create(300 * 1000);
s->withTimestamp = true; s->withTimestamp = true;
assert(s != NULL && "Socket create failed."); assert(s != NULL && "Socket create failed.");
...@@ -124,7 +124,7 @@ static inline socket_t _open_sender(struct arguments *args) { ...@@ -124,7 +124,7 @@ static inline socket_t _open_sender(struct arguments *args) {
} }
static inline socket_t _open_receiver(struct arguments *args) { static inline socket_t _open_receiver(struct arguments *args) {
socket_t s = PrrtSocket_create(false, HALF_TIMESTAMP - 1); socket_t s = PrrtSocket_create(HALF_TIMESTAMP - 1);
assert(s != NULL && "Could not create socket."); assert(s != NULL && "Could not create socket.");
if (args->thread_pinning) { if (args->thread_pinning) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment