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

545 commits

Author SHA1 Message Date
a057c0c513 adding function killme() to gracefully shutdown 2017-07-06 21:15:10 +02:00
2b913d4d69 tests: fix valgrind warnings 2017-07-02 23:57:03 +02:00
fe2abf760d pipe: fix timeout 2017-07-02 22:15:07 +02:00
125ce873e7 pipe: ualarm() invocation 2017-07-02 18:58:30 +02:00
2b7687cc4d pipe: add -t switch to terminate execution after a given time 2017-07-02 00:13:06 +02:00
35f6d162a0 pipe: add -l and -L switches to limit the number of samples received / sent 2017-07-01 21:12:44 +02:00
f7cf76d4d3 pipe: check if command line arguments are malformed 2017-07-01 20:46:47 +02:00
ce4fabb537 pipe: simplify code by eliminating redundant variable 2017-07-01 20:45:45 +02:00
c1154faf40 fixed several format string compiler warnings / errors emitted by Ubuntu's GCC 5.4.0 2017-06-17 03:13:42 +02:00
63ab85c688 pipe: shutdown web services 2017-06-15 15:29:33 +02:00
Georg Reinke
faa0763d64 shmem: add top-level function for allocating samples 2017-06-14 13:31:59 +02:00
Georg Reinke
d7bf6c2370 pipe: fix segfault on shutdown 2017-06-14 13:01:51 +02:00
Georg Reinke
6265c39ce2 shmem: use one region for each direction 2017-06-14 13:00:43 +02:00
Georg Reinke
2ba3c1cbe7 rework shmem interface to be "symmetric"
The notion of "VILLASnode" / "external program" is removed from the
interface. Now there's only a distiction regarding which process opened
the object first, and this is handled transparently by the functions.

This enables some new uses for the interface, for example connecting
two instances of VILLASnode or two instances of DPsim directly.
2017-06-08 12:43:24 +02:00
Georg Reinke
1d011e6d8f some include / format error fixes 2017-06-08 12:42:46 +02:00
8f6b38cd63 added new function node_type_name() 2017-05-23 15:20:38 +02:00
4f74107e91 install third party libraries to /usr/local/lib64 instead of /usr/local/lib 2017-05-08 00:50:53 +02:00
c711f0f1bc added warmup phase to histogram for better selection of min/max (closes #12) 2017-05-05 22:26:40 +00:00
49054eef9f cleanup: removed trailing whitespaces in code 2017-05-05 19:24:16 +00:00
0bdf8192e8 signal: fix type string in file header 2017-05-04 19:36:13 +02:00
e7b2023614 better handling of command line arguments 2017-05-04 19:36:13 +02:00
5bc7d353a7 hook: do not initialise log before invocation is checked 2017-05-04 19:36:13 +02:00
9faf123088 pipe: do not send an epmty datagram on EOF# 2017-04-27 15:16:35 +00:00
9b1e6a33ed add license to headers 2017-04-27 13:20:20 +02:00
5be1853649 added GPL license to file headers 2017-04-27 12:56:43 +02:00
Georg Reinke
f5aba31045 remove libconfig references from libvillas-ext 2017-04-26 11:58:12 +02:00
89a7f15186 valgrind: call atexit() handlers to release memory 2017-04-24 18:59:12 +02:00
a81d1fc8de Merge branch 'develop' into node-shm 2017-04-17 23:54:44 +02:00
Georg Reinke
d8d9f00ee6 fix includes in test-shmem 2017-04-17 19:02:17 +02:00
Georg Reinke
6f6e29e622 some doc fixes / additions 2017-04-16 23:00:30 +02:00
61d42c342d refactoring: DEFAULT_VALUES => DEFAULT_SAMPLELEN 2017-04-15 22:46:42 +02:00
426712b56f renamed src/shmem.c to src/test-shmem.c which will be compiled into villas-test-shmem 2017-04-15 21:49:40 +02:00
cc7ef95026 split library Makefile for libvillas and libvillas-ext 2017-04-15 21:44:25 +02:00
2d71d606ce shm node: fix compiler / build-system errors 2017-04-15 21:30:37 +02:00
6b09a214c2 shm node: add new vectorize argument to test-shmem 2017-04-15 21:30:33 +02:00
52de5f025f pipe: accept partial vectors on stdin 2017-04-15 21:29:35 +02:00
770eda23fc initialize and start log properly 2017-04-15 21:29:34 +02:00
b23000e2a8 several smaller cleanups: coding-style, variable names, white spaces, intermediate variables 2017-04-15 21:29:23 +02:00
4504fcc827 added file headers with author and copyright info 2017-04-15 21:28:28 +02:00
Georg Reinke
025713a46e don't link libext against any external libraries 2017-04-15 20:38:58 +02:00
Georg Reinke
3c48b4f557 new "libext" library for external programs using shmem 2017-04-15 15:38:37 +02:00
Georg Reinke
39d7c451fb shm node: signal the other program if one exits 2017-04-12 14:38:18 +02:00
96190a5822 Run libwebsockets in a worker thread 2017-04-07 17:39:37 +02:00
51e0930d39 start API in villas-pipe 2017-04-07 17:35:55 +02:00
053b43fb9f change function signature of node_type_start() 2017-04-07 17:32:52 +02:00
Georg Reinke
a6ffa0ed0d don't use node configuration in shmem client 2017-04-07 13:31:40 +02:00
Georg Reinke
61b10ed4f1 move more information to shared part of shmem node 2017-04-07 13:27:10 +02:00
Georg Reinke
3a7af08799 move "external" part of shmem to separate files 2017-04-07 12:57:40 +02:00
Georg Reinke
c7e241cb2b new wrapper struct around queue with POSIX CV's 2017-04-07 12:18:08 +02:00
Georg Reinke
ee809bd5c9 Merge branch 'develop' into node-shm 2017-04-06 12:12:56 +02:00