Florian Lüke
24542b4a6d
implement multi-threaded stage1 analysis using an internal nng pipeline
2024-12-29 21:31:44 +01:00
Florian Lüke
4dcaf2ee47
add get_spdlog_logger() internal utility
2024-12-29 21:29:48 +01:00
Florian Lüke
1d2e4952ad
refactor things, mostly renaming
2024-12-29 18:58:19 +01:00
Florian Lüke
ee8305cd0c
factor out common code
2024-12-29 18:57:05 +01:00
Florian Lüke
99949f08e4
NngServerSink fixes and use an absolute ipc socket url for now
2024-12-29 00:15:01 +01:00
Florian Lüke
af8ea1db47
ManaSinkPerfProxy: measure run time starting after the call to begin_run()
2024-12-29 00:14:18 +01:00
Florian Lüke
92ec0eaf05
fixes and start mana_nng_client
2024-12-28 19:18:18 +01:00
Florian Lüke
cad7b29796
fix argh.h - use the one from mesytec-mvlc (same include guard)
2024-12-28 19:17:06 +01:00
Florian Lüke
9706a19e56
formatting fixes
2024-12-28 17:54:45 +01:00
Florian Lüke
b40d60e015
add a NngServerSink and somehow get the plugin to link
...
Things are messy, doesn't link with clang in vscode, works in the shell.
2024-12-28 07:06:05 +01:00
Florian Lüke
a7b5d50533
remove unused ManaSinkProxy
2024-12-27 19:13:29 +01:00
Florian Lüke
48d0a3d5c0
rename mana_nng.h -> mana_nng.hpp
2024-12-27 19:13:13 +01:00
Florian Lüke
a9bfcf151c
mana: add cpp plugin interface and test plugin
2024-12-27 18:49:19 +01:00
Florian Lüke
aa9d21d81c
add cpp wrapper for rxi/log.c
2024-12-27 18:48:07 +01:00
Florian Lüke
c82671490a
better mana c api entry point definition
2024-12-27 17:34:02 +01:00
Florian Lüke
bbd52cbde0
mana auto replay: print sink perf stats at the end of the run
2024-12-27 17:33:33 +01:00
Florian Lüke
1698987311
mana: implement ManaSinkPerfProxy
2024-12-27 17:32:20 +01:00
Florian Lüke
f5fc1d49e7
add argc, argv to mana plugin init
2024-12-27 14:39:00 +01:00
Florian Lüke
ee10c7ce70
rename mana_plugin_t -> mana_sink_plugin_t
2024-12-27 14:08:13 +01:00
Florian Lüke
714e0c4f3a
rename mana_api.h -> mana_c_api.h
2024-12-27 14:03:57 +01:00
Florian Lüke
d8eb73671d
refactor ManaPlugin -> IManaSink, ManaCPlugin -> ManaCSink
2024-12-27 13:57:03 +01:00
Florian Lüke
59b11c94a7
hide ManaPlugin constructors
2024-12-27 13:53:02 +01:00
Florian Lüke
9c76aa93bf
simplify the ManaPlugin class, decouple it from the C plugin interface
2024-12-27 12:40:49 +01:00
Florian Lüke
ead9c0ee2e
fixes and refactorings
2024-12-26 18:42:25 +01:00
Florian Lüke
6f7102549e
mana: add a root-histogram plugin and improve ManaCountingSink
...
Currently only histograms the hit counts per input array element, not
the actual data.
The counting plugin now also tracks and prints 'eventArrayIndexHits'.
2024-12-26 01:46:58 +01:00
Florian Lüke
edf0d291a9
mana: add c test plugin and make plugin loading work
2024-12-26 00:32:56 +01:00
Florian Lüke
da8f52730f
add rxi/logc from https://github.com/rxi/log.c
2024-12-26 00:31:58 +01:00
Florian Lüke
587bf0e6cb
first working mana_auto_replay
...
ManaCountingSink counts match the mvme analysis counts for the single event
is690-9Li_3H_run094 run. ~280 MB/s in release mode.
2024-12-25 23:37:37 +01:00
Florian Lüke
ce00821bbb
mana_arena: add missing include
2024-12-25 18:30:10 +01:00
Florian Lüke
c8be12c1b6
more work on mana, commiting state
2024-12-25 05:47:38 +01:00
Florian Lüke
6d93197f86
mana::Arena: fixes and segment limit and tests
2024-12-25 03:18:39 +01:00
Florian Lüke
46efb1cff7
move arena into internal header, add mana gtest
2024-12-23 12:59:57 +01:00
Florian Lüke
43c18dc243
cleanup
2024-12-07 21:54:46 +01:00
Florian Lüke
b0ca75960b
add argh from https://github.com/aardvarkk/argh
2024-12-07 20:35:29 +01:00