1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-16 00:00:02 +01:00
Commit graph

2505 commits

Author SHA1 Message Date
70cc94b5c7 refactor: warn() => warning() due to name collision with libc 2018-11-30 21:37:52 +01:00
39320dbf56 websocket: temporary fixes for C++ port 2018-11-30 21:36:26 +01:00
1a7341e86a web: fix errors caused by merge 2018-11-30 21:36:26 +01:00
96b05e32cb misc changes 2018-11-30 21:36:26 +01:00
707affc027 cpp: update unit tests 2018-11-30 21:36:26 +01:00
6f7386afbf fix missing include 2018-11-30 21:35:14 +01:00
3c11acb8b5 cpp: ported web and api 2018-11-30 21:33:56 +01:00
7f4e69ea4b refactor: NULL -> nullptr 2018-11-30 21:00:53 +01:00
677f8b2aa2 socket: fix compilation without libnl3 2018-11-30 21:00:53 +01:00
d72c5604e8 cmake: several improvments to the build system 2018-11-30 21:00:53 +01:00
30576ba7ad refactoring: move config to villas/node/config.h 2018-11-30 21:00:53 +01:00
32ffab7632 config_helper: allow json_load_cli() to be called with constant arguments 2018-11-30 20:58:15 +01:00
0709235502 log: adjust to new log constructor signature 2018-11-30 20:58:15 +01:00
833729cb57 added new VILLAScommon submodule 2018-11-30 20:58:15 +01:00
708ea877f1 moved code to new VILLAScommon repo 2018-11-30 20:58:15 +01:00
987a59a5aa cpp: ported SuperNode 2018-11-30 20:46:59 +01:00
e33e1904b8 refactor: warning() => warn() 2018-11-30 20:38:31 +01:00
c8dbc42b6b remove global variable 2018-11-30 20:38:10 +01:00
06ef762ad9 socket: use pre-allocated buffers to avoid dynamic allocations and syscalls in critical path 2018-11-30 20:33:11 +01:00
Marvin Klimke
2ea4b65b58 [WIP] first approach to rtp_write function. 2018-11-28 18:12:06 +01:00
Marvin Klimke
5d9ad4e9e0 add placeholder rtp receive handler 2018-11-28 06:11:13 +01:00
f60bf3f0f5 api: return state as string 2018-11-27 18:06:35 +01:00
1ac9d306ad node: do not emit data when paused 2018-11-23 21:00:20 +02:00
437cfb646d file: add restart callback 2018-11-23 21:00:20 +02:00
7f5b3c235f api: added new actions for controlling a node 2018-11-23 21:00:20 +02:00
88b1ec7850 web: fix lws_callback_on_writable() on macOS caused by multithreading issues 2018-11-23 21:00:20 +02:00
84aff14eed api: refactor "command" => "action" 2018-11-23 21:00:19 +02:00
22eefc7590 websockets: fix proken detection of libwebsockets 2018-11-23 21:00:19 +02:00
b21227bb3b memory: speedup hugepage memory allocations 2018-11-23 21:00:19 +02:00
6a2fa4e590 fix indention 2018-11-23 21:00:19 +02:00
a088c116f0 node: added support for pause/resume and restart node instances 2018-11-23 21:00:18 +02:00
b20ed40a59 fixed indention 2018-11-23 21:00:18 +02:00
Marvin Klimke
29a24d354e implement rtp_print and rtp_reverse
also begin of rtp_start
add libre rtp socket and flag for rtcp in struct rtp
2018-11-22 17:53:07 +01:00
Marvin Klimke
dc81c8fd8c first version of rtp node parse method
use individual libre includes to avoid naming conflicts.
use libre's struct sa to store socket addresses.
2018-11-22 07:18:27 +01:00
Marvin Klimke
162fafbb03 prevent "unused" warnings 2018-11-21 18:21:29 +01:00
Marvin Klimke
de34ad2cda add rtp node to CMakeLists
adapted from libnanomsg dependencies
2018-11-16 16:08:55 +01:00
Marvin Klimke
a1e43c7f00 add plugin frame for rtp node
using nanomsg as a template
2018-11-16 16:07:47 +01:00
38be4ef255 config: compile time detection of cache line size for aarch64 (fixes #214) 2018-11-14 21:14:52 +01:00
b4e467d634 do not include tsc.h on non x86 archs (closes #211) 2018-11-14 17:08:23 +01:00
Dennis Potter
b1eb89be02 Fixed typo in comment 2018-11-05 23:47:47 +01:00
Dennis Potter
0819207c55 Fixed bug which improved latency about 33%.
An ugly workaround was removed in 3c33696265 and 159cefb14d. Besides making the code a little cleaner, it was expected that this would improve latency. However, it did not.

Cause for this was a bug that disabled inline messages for all messages. This is fixed in this commit. Now, the anticipated latency improvement can be seen. Compared to 159cefb14d, the latency for samples with 16 values or less is up to 33% better.

Furthermore, the check for signaling is fixed and some typos are fixed.
2018-11-02 12:46:12 +01:00
40521cf5dd socket: enable raw socket only on linux and if libnl3-route was found (closes #210) 2018-10-31 10:38:43 +01:00
f84ffe608e revert commit a693e7b5db
libnl3 is not required by default.
2018-10-30 11:17:34 +01:00
c55b1a2db6 loopback: now also supported on macOS 2018-10-28 13:27:15 +01:00
Niklas Eiling
306ef4be33 config: make using config_helper work also when libconfig was found 2018-10-24 10:19:39 -04:00
Niklas Eiling
f588e4419d config: remove unnecessary includes and add conditional compilation to config_helper.h 2018-10-24 10:04:21 -04:00
Niklas Eiling
a693e7b5db cmake: only try building socket.c if libnl is present. (see #208) 2018-10-24 15:47:57 +02:00
8acd434952 list: fixed compatability bug in list_sort() on BSD-based systems 2018-10-21 16:46:26 +01:00
fc3e292213 task: fix task implementation for macOS 2018-10-21 15:41:19 +01:00
93612d8773 kernel: improve portability 2018-10-21 13:05:24 +01:00