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

2128 commits

Author SHA1 Message Date
7c939ba1e5 sample: remove source field 2018-08-12 23:59:15 +02:00
2361964de1 path: added signal list 2018-08-12 23:59:15 +02:00
1ada9d10d9 list: added list_extend() 2018-08-12 23:59:15 +02:00
b0017f859f refactoring 2018-08-12 23:59:15 +02:00
e37d665755 signal: added signal_init_from_mapping() 2018-08-12 23:59:15 +02:00
b79386011a mapping: added mapping_to_str() 2018-08-12 23:59:15 +02:00
170c86dca4 refactor:
- WEBSOCKET_DEFAULT_SAMPLELEN -> WEBSOCKET_DEFAULT_SAMPLE_LENGTH
- WEBSOCKET_DEFAULT_QUEUELEN -> WEBSOCKET_DEFAULT_QUEUE_LENGTH
2018-08-12 23:59:15 +02:00
32de7761fe refactor:
- DEFAULT_SAMPLELEN -> DEFAULT_SAMPLE_LENGTH
- DEFAULT_QUEUELEN -> DEFAULT_QUEUE_LENGTH
2018-08-12 23:59:15 +02:00
f35588aad8 refactor:
- SAMPLE_LEN() -> SAMPLE_LENGTH()
- SAMPLE_DATA_LEN() -> SAMPLE_DATA_LENGTH()
2018-08-12 23:59:15 +02:00
ae8d576b4a use proper include style 2018-08-12 23:59:15 +02:00
9a7f2afd0d do not include libwebsockets.h in header files as it breaks compliation together with complex.h 2018-08-12 23:59:15 +02:00
dfe56b89c0 signal: extend format field 2018-08-12 23:59:15 +02:00
10c02766f5 sample: remove format field 2018-08-12 23:59:15 +02:00
Dennis Potter
36c3161fa8 Initialized next and set frequency to right value 2018-08-09 17:35:39 +02:00
Dennis Potter
c2ee43b01e Changed location of int ret declaration
ret is not used in case of RDTSC. So when PERIODIC_TASK_IMPL was set to
RDTSC, the code wouldn't compile
2018-08-09 14:31:31 +02:00
Dennis Potter
e926b9b6c2 Fixed compile errors with format string identifiers.
These identifiers were introduced in
eaa3f60b12
2018-08-09 14:24:45 +02:00
68a794681e kernel: support kernel_get_page_size() on OS X 2018-08-09 08:06:51 +02:00
71296da232 utils: remove obsolete function 2018-08-09 08:06:30 +02:00
eaa3f60b12 fix several invalid format string identifiers 2018-08-09 08:06:21 +02:00
b25f4406c5 task: added support for rdtsc 2018-08-09 07:57:32 +02:00
Sonja Kolen
eabd3dbb32 node infiniband: fixed a typo 2018-08-08 09:50:05 +02:00
Sonja Kolen
0f7d08364d Merge remote-tracking branch 'origin/develop' into develop 2018-08-08 08:53:49 +02:00
Sonja Kolen
5f11bd5a19 queue signalled: make libvillas compile if eventfd is not available/ activated; add a switch in CMake file to deactivate eventfd independant of availability in OS 2018-08-08 08:53:36 +02:00
Dennis Potter
0cd4e07173 Fixed another small bug in Infiniband node.
Both RC and UC are connected. So the check I changed should check for
NOT UDP (UD), instead of TCP (RC)
2018-08-07 17:52:45 +02:00
Dennis Potter
33d59938eb Added one more comment line on custom librdmacm 2018-08-07 17:36:29 +02:00
Dennis Potter
ec60f1d2c2 Added support for unreliable connections 2018-08-07 16:45:05 +02:00
Dennis Potter
0c1e92bced Added separate buffer for input and output section 2018-08-06 23:48:13 +02:00
Dennis Potter
2a1dc60d16 Changed configuration section of 2018-08-05 11:07:45 +02:00
Dennis Potter
71134a4c81 Node now already posts Work Receives if it accepts the connections.
Before, it waited until it is really connected. That caused problems,
because the send side will start immediately sending if it is connected.
Especially at high rates (>100k) this was a problem.
2018-08-04 17:34:52 +02:00
Dennis Potter
69c8f0adaa Added flag to enable/disable warning about missed steps 2018-08-04 17:27:06 +02:00
Dennis Potter
117913287d Added configurable setvbuf to output of file node 2018-08-04 15:20:21 +02:00
Dennis Potter
cdadbe8bcc Changed precision of offset to nanoseconds for csv. Fixes #189 2018-08-02 16:25:07 +02:00
Dennis Potter
2b52366627 Added pthread_testcancel() to path. Fixes #186 2018-08-02 16:24:05 +02:00
Dennis Potter
027555c34d Added flag in config to enable/disable connection fallback. Closes #188 2018-08-02 10:41:37 +02:00
Dennis Potter
aefe40dc35 Removed IMM mode. Replaced hard coded integers by constants 2018-08-01 18:26:42 +02:00
Sonja Kolen
a74644cea9 csv and villas.human formats: remove dynamic memory allocation 2018-08-01 16:45:54 +02:00
Sonja Kolen
9e5852233c Merge branch 'develop' of git.rwth-aachen.de:acs/public/villas/VILLASnode into develop 2018-08-01 14:42:40 +02:00
Sonja Kolen
796d3226be villas.human format: determine type of value (double or int) of received sample by checking for a dot in the value string 2018-08-01 14:42:30 +02:00
Sonja Kolen
f7a61e3f97 csv format: determine type of value (double or int) in received sample by checking for a dot in the value string 2018-08-01 14:40:50 +02:00
Sonja Kolen
89f4e9b768 json_format: fixed a bug, int values are now saved in the data.i field instead of data.f 2018-08-01 14:36:31 +02:00
f6c91f4ac9 file: fix assertion raised in file_destroy() when node was never started (closes #186) 2018-07-26 16:38:26 +02:00
Dennis Potter
b96a55237b Added pthread_testcancel() in ib_read()
As discussed in issue #186 and on IM. This function check every 2048th
cycle if the thread should be canceled.

This also removed the need for 'kill -9' in the integration test.
2018-07-26 15:46:41 +02:00
Dennis Potter
45ddebf5d1 Performance improvement for UDP
Before this commit, the Infiniband node recreated the address handle for
the remote node during every cycle. Now, it only creates it directly
after it got ah_attr.
2018-07-25 18:51:28 +02:00
Dennis Potter
49a92ffeaf Made in and out section optional for file node
This is discussed in the comment section of commit
d0f4513122
2018-07-25 18:13:01 +02:00
Dennis Potter
dfd694bdc2 Some small changes in default settings and warning 2018-07-25 16:22:34 +02:00
Dennis Potter
6b93b8839e Changed debug flag in node.c from LOG_NODES to LOG_NODE
Fixes #184.
2018-07-24 10:42:35 +02:00
Dennis Potter
f14ae5a9ef Moved call to memory_init() from api to super_node
Fixes #180.
2018-07-24 10:40:21 +02:00
Dennis Potter
eb80945699 Added missing curly bracket 2018-07-24 10:35:51 +02:00
Dennis Potter
df5ec2bcdf Added support for node type dependend memory types 2018-07-23 22:46:03 +02:00
Dennis Potter
dfa098f450 Merge branch 'develop' of git.rwth-aachen.de:acs/public/villas/VILLASnode into develop 2018-07-23 22:44:14 +02:00