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

4209 commits

Author SHA1 Message Date
9890777c72 added SWAP() macro 2017-03-25 21:24:06 +01:00
99a142bb6b added and fixed a bunch of unit tests 2017-03-25 21:23:48 +01:00
411b9dd326 replaced most occurrences of list_foreach with a traditional for loop due to performance reasons 2017-03-25 21:23:31 +01:00
b1fdeac63f advio: fixed unit tests 2017-03-25 21:13:45 +01:00
edc1e0196d added new fpga_ip_type callbacks to differentiate between intialiazation and start of an IP core 2017-03-25 21:13:07 +01:00
9c37348d1d added new hook function „map“ to remap values and add other special values to the sample (fixes #80) 2017-03-25 21:11:52 +01:00
1bb91ce8af added _vd and _vt members for struct fpga_ip (now in line with nodes, hooks, models, etc..) 2017-03-25 21:10:25 +01:00
a8232e9ba0 stats: added support for different output formats 2017-03-20 09:15:54 -03:00
8c8a2c57b7 the hook callback shall return 0 in case of success.
the number of returned samples is now updated in the passed hook_info::count
2017-03-20 09:14:30 -03:00
8613ee688e use name method for storing hook private data as for nodes 2017-03-20 09:13:01 -03:00
0c5204ccc3 advio: non HTTP protocols have return code 0 2017-03-20 09:08:10 -03:00
326b61fa59 fix invalid free() in advio 2017-03-20 09:07:45 -03:00
27913c3699 fix progressbar output in advio 2017-03-20 09:07:29 -03:00
30d5c73fea smaller refactoring in villas-hook 2017-03-20 09:04:23 -03:00
7d28fbd6c4 update receive timestamp in villas-hook 2017-03-20 09:03:48 -03:00
4526f8b534 support multiple parameters in villas-hook 2017-03-20 09:03:03 -03:00
8e53725c33 improved configuration file format for hooks 2017-03-17 02:52:59 -03:00
5b93da867a refactoring: simplified hook system 2017-03-17 01:08:48 -03:00
b89b30ffe1 fixes several segfaults in websocket node-type due to improper connection establishment / tear-down (see #71, #72 & #73) 2017-03-16 22:42:58 -03:00
19e98af8e3 remove obsolete flag parameter from afopen() 2017-03-15 00:51:24 -03:00
e1f655a37d remove history field of hook structure as this is now obsolete.
use the reference counting to keep copies of older samples
2017-03-14 11:25:17 -03:00
f8b75d084c added proper units for statistics 2017-03-14 11:24:51 -03:00
bd238dfebd remove history field of hook structure as this is now obsolete.
use the reference counting to keep copies of older samples
2017-03-14 11:24:06 -03:00
7aa1c66d99 do not use the sample samples objects in villas-hook as the hooks might add references to keep copies of older samples 2017-03-14 11:21:05 -03:00
e1813f5803 unify log initialisation code in villas-hook 2017-03-14 11:19:59 -03:00
858dfdd35a villas-hook: correctly initialise hook_info 2017-03-14 11:19:14 -03:00
d40e3cd06f make hook parameter for villas-hook optional 2017-03-14 11:18:12 -03:00
b145f63536 do not run hook callbacks if not supported by hook 2017-03-14 11:17:40 -03:00
3af0f136d5 added option to use shift hook also for sequence numbers 2017-03-14 11:14:02 -03:00
1a323d1fcd moved unit tests into sub directory 2017-03-14 10:14:17 -03:00
27f86f11ed added new option to redirect log output to a file 2017-03-14 01:49:22 -03:00
4f3d61786d reworked advio to use hash instead of dirty flag 2017-03-14 01:47:16 -03:00
edb7059452 added sha1sum function to calculate hash of file 2017-03-14 01:46:44 -03:00
607be1dd99 minor bugfixes and improvements 2017-03-13 23:51:38 -03:00
4554a689ee started documentation of advio and api for Markus 2017-03-13 22:58:17 -03:00
0830132a83 cosmetic changes 2017-03-13 00:04:56 -03:00
4c80f8cded reworked documentation structure 2017-03-13 00:03:36 -03:00
f3deae0b45 moved RTDS drafts 2017-03-12 23:28:39 -03:00
17fba35349 added example configuration file for file node-type using advio uris 2017-03-12 23:21:00 -03:00
339e45b205 fix uninitialized value 2017-03-12 23:20:15 -03:00
83dfb31dc2 remove broken ADVIO_MEM flag 2017-03-12 23:18:18 -03:00
b676897545 fix search & replace mistake 2017-03-12 23:17:48 -03:00
506873a25a remove broken ADVIO_MEM flag 2017-03-12 23:17:19 -03:00
3aa097f006 fix compilation of unit tests 2017-03-12 23:16:33 -03:00
1b281be53c several smaller fixes and documentation updates 2017-03-12 17:14:53 -03:00
d2a281bc9d fix „villas“ alias to work correctly with villas-test-{cmp, rtt} 2017-03-12 17:14:26 -03:00
9771559533 added new hook to shift timestamps of samples 2017-03-12 17:13:55 -03:00
2757011e1b several smaller fixes and documentation updates 2017-03-12 17:13:37 -03:00
4ca0785095 optimisations in hist_dump_* functions to reduce output to screen 2017-03-12 17:11:23 -03:00
9a9e9c17d4 added new villas-test-cmp tool to compare to files (will be used by integration tests) 2017-03-12 17:10:45 -03:00