0f7bd02e41
fix: initialize hooks only if required
2016-11-20 02:50:12 -05:00
eda6c66f0e
use proper style for #include
2016-11-20 02:45:39 -05:00
4bb0aa76c9
increase number of reserved huge pages automatically if required
2016-11-20 02:45:16 -05:00
90e973ce37
fix memory allocation bug discovered by CI :-)
2016-11-08 00:36:04 -05:00
f50e449373
refactoring in the stats system to fix some compiler errors
2016-11-08 00:27:28 -05:00
baaa809b90
remove STATS_INVALID as it is too specific for the socket node-type
2016-11-08 00:26:56 -05:00
1d3bb7c730
some cleanups in the hook system
2016-11-08 00:26:06 -05:00
fab53b0302
further steps to implement websocket client functionality
2016-11-08 00:24:57 -05:00
15e7e78e04
mark samples with source node
2016-11-07 22:20:09 -05:00
9e13b06a59
get first working version of web socket node-type with MPMC queues
2016-11-07 22:19:30 -05:00
735f08f551
more improvements to make statistic subsystem extensible
2016-11-07 22:18:26 -05:00
b23484550f
major rewrite with MPMC queues
2016-11-07 22:17:45 -05:00
88e36f272b
fix calculation of log2i(1)
2016-11-07 22:15:00 -05:00
dd7e0443ce
add node id to web mockup javascript
2016-11-07 21:30:28 -05:00
Umar Farooq
21f5ca3dff
Merge branch 'gtnet_features' into 'develop'
...
Endianess setting for GTNET-SKT header
Hi there,
I did a bit of rework on Umar's work.
This unveiled some more severe bugs (my faults).
So, I am quite happy that this kind of code review helps everybody :-)
As last time, I assign this MR to @umar.farooq. Have a look over it, and merge if you are happy.
See merge request !8
2016-11-07 14:56:59 +01:00
d67821dda4
Merge branch 'feature-better-websockets' into feature-mpmc-queue
2016-10-30 23:49:52 -04:00
3d22238976
make pool initialisation more robust by allowing non-pow2 pool sizes (we will use the next bigger power-of-2 for the internal queue)
2016-10-30 23:01:14 -04:00
287e5727fb
fix block size calculation for memory pool
2016-10-30 23:00:17 -04:00
248a6638da
these hooks do not use HOOK_{INIT,DEINIT} to lets return early to not fail the assertion
2016-10-30 22:57:58 -04:00
0d58df66e7
fixed segmentation fault in villas-pipe
2016-10-30 22:57:05 -04:00
3d694cf4d9
add possibility to print histogram in different verbosity levels
2016-10-30 22:56:41 -04:00
c0d5bbb47b
add a couple of NULL pointer checks for bucket-less histograms
2016-10-30 22:55:12 -04:00
693329cb68
use hist_cnt_t throughout the histogram code
2016-10-30 22:54:20 -04:00
510aec7630
added constructor and destructor methods to hook_storage() management
2016-10-30 22:52:33 -04:00
fe90cce778
Merge branch 'gtnet_features' into feature-mpmc-queue
2016-10-30 22:05:46 -04:00
800e71bb96
proper return codes for incorrect CLI arguments
2016-10-30 22:05:29 -04:00
3e93dfe17c
Merge branch 'develop' into feature-mpmc-queue
2016-10-30 21:42:28 -04:00
08aef8e87a
Merge branch 'cleanups' into 'develop'
...
readd Git commit hash to version string
See merge request !10
2016-10-31 02:32:32 +01:00
14fc2b356d
Merge branch 'feature-tests2' into 'develop'
...
Unit tests for memory, utils and pool
See merge request !9
2016-10-31 02:25:18 +01:00
2ca9193c85
still not robust enough (Criterion cr_assert_ calls show high latency :-S)
2016-10-30 21:21:07 -04:00
1cede55db5
make timer unit test more robust
2016-10-30 21:14:48 -04:00
cbf74f931c
make sure we have enough huge pages reserved for CI tests
2016-10-30 20:58:27 -04:00
c0875fdafa
readd Git commit hash to version string
2016-10-30 20:27:24 -04:00
6c23cd23d3
add 'git submodule sync' to CI script to update changed .gitmodules
2016-10-30 20:25:08 -04:00
f2bdba06d0
fix submodule url for upstream bleeding branch
2016-10-30 20:07:47 -04:00
1cfa7f05d9
added missing defines
2016-10-30 20:04:17 -04:00
c0645ab839
use latest Criterion version for some required bug fixes
2016-10-30 20:00:09 -04:00
0d366fb556
speedup of unit tests (see https://github.com/Snaipe/Criterion/issues/172 )
2016-10-30 20:00:09 -04:00
4e7011bba6
added unit tests for pool
2016-10-30 20:00:09 -04:00
7baffe66c0
move munmap() workaround to from unit test to memory_free_hugepage()
2016-10-30 20:00:09 -04:00
f13c6c14e4
added unit tests for memory functions
2016-10-30 20:00:09 -04:00
d50f5ea694
added unit tests for utils
2016-10-30 20:00:09 -04:00
8926685aaf
beautify debug outputs
2016-10-30 17:11:40 -04:00
d6e4ab5d2f
severe bug fix: msg_swap() did not correctly swapped the values (just the header)
2016-10-30 17:11:12 -04:00
7dec04edfc
added new setting to example config, updated documentation
2016-10-30 17:10:20 -04:00
1bcd0f9ae2
moved "endian" setting to socket node-type: other node-types do not have the sense of endianess (e.g. file node-type)
2016-10-30 16:58:45 -04:00
c8d6c63d95
bug fix: handle failed allocation of huge pages correctly (returns MAP_FAILED instead of NULL)
2016-10-30 16:54:39 -04:00
e2d47698ed
fixed severe bug: argument order for pool_init() was swapped!
2016-10-30 16:52:53 -04:00
d0c72c06ea
added missing include for LOG2_CEIL()
2016-10-30 16:52:11 -04:00
893c723385
readded check for correct queue size (accidentally removed)
2016-10-30 15:39:05 -04:00