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

39 commits

Author SHA1 Message Date
6d495c1a35 add new bitmask to samples to indicate which fields are valid 2017-09-04 14:28:55 +02:00
415cd0de09 refactor: whitespace changes only 2017-09-02 14:20:38 +02:00
e7666be1ef move 'samplelen' setting from per path to per node configuration 2017-08-31 09:31:19 +02:00
8fdcaa3c4e add support for node_fd() to more node types 2017-08-30 13:30:31 +02:00
5d0ba771c6 Merge branch 'node-test' into develop
# Conflicts:
#	include/villas/api/session.h
#	lib/api.c
#	lib/super_node.c
#	lib/web.c
2017-08-27 18:44:03 +02:00
434fe6dbd6 replaced libconfig by jansson for parsing the configuration (huge commit) 2017-08-03 00:19:27 +02:00
Georg Reinke
37fc5df254 add polling loop inside shmem_read 2017-07-28 12:23:16 +02:00
b59a989278 cleanup trailing whitespaces 2017-07-25 12:07:06 +02:00
8287f049ef some refactoring 2017-07-02 23:58:56 +02:00
2b913d4d69 tests: fix valgrind warnings 2017-07-02 23:57:03 +02:00
86bddfa83a shmem: whitespace cleanup
I like a bit more whitespace for readability
2017-06-15 15:07:42 +02:00
Georg Reinke
6265c39ce2 shmem: use one region for each direction 2017-06-14 13:00:43 +02:00
Georg Reinke
c5eb7c8e73 more whitespace fixes 2017-06-08 13:07:20 +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
1b61d55cab add close methods for queue and use them for shmem 2017-05-12 13:12:42 +02:00
Georg Reinke
d17300e276 remove unnecessary sample_get in shmem node 2017-05-12 11:52:39 +02:00
Georg Reinke
1067c66ab8 shmem node: copy samples when reading 2017-05-12 11:52:24 +02:00
49054eef9f cleanup: removed trailing whitespaces in code 2017-05-05 19:24:16 +00:00
5be1853649 added GPL license to file headers 2017-04-27 12:56:43 +02:00
a81d1fc8de Merge branch 'develop' into node-shm 2017-04-17 23:54:44 +02:00
Georg Reinke
5f540e58bc even more documentation for shmem node 2017-04-17 19:00:15 +02:00
cee5575861 shm node: use similar settings as for paths: {in,out}size => queuelen, sample_values => samplelen 2017-04-15 22:47:24 +02:00
374f5bb557 shm node: fixed bug introduced by previous refactoring 2017-04-15 22:46:42 +02:00
db3d1477d1 shm node: renamed ‚cond_{in,out}‘ settings to ‚polling‘ 2017-04-15 22:46:35 +02:00
4b9d62fd3e shm node: changed description of node-type 2017-04-15 21:29:35 +02:00
f8713bb098 shm node: this node-type should work with ‚vectors‘ of samples too 2017-04-15 21:29:35 +02:00
ea6556bc8d shm node: add ‚exec‘ setting to shmem_print() 2017-04-15 21:29:34 +02:00
d4ddad603b changed signature of spawn() 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
c135451db7 shm node: use pthread_barrier for synchronizing the start 2017-04-12 23:07:30 +02:00
Georg Reinke
385efa1313 shm node: add option to spawn external program on start 2017-04-12 17:07:59 +02:00
Georg Reinke
39d7c451fb shm node: signal the other program if one exits 2017-04-12 14:38:18 +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
Georg Reinke
278a0afd45 shmem: fix init/destroy functions 2017-04-06 10:49:02 +02:00
Georg Reinke
66545fc4c7 new shmem node type 2017-04-05 12:52:21 +02:00