setup.sh to setup dependencies including recursively setting up full-search (streamline dependency installation).
full-search and symbolically link the generated dependencies.
We use the
libtensorflowlite_c.so generated from compiling the tflitec crate instead of compiling it ourselves.
cd build; cmake ..
Handling offline cpu cores
In some virtualized environments (i.e. LXC containers) cpu cores can be online or offline. PRRT already uses the optional
PRRT_CORES environment variable that addresses this issue for thread pinning the sender and receiver threads. Use the same mechanism for the timer threads. This change preserves the default core assignment:
- core 0 -> timer threads
- core 1 -> sender thread
- core 2 -> receiver thread
export PRRT_CORES=$(cat /sys/devices/system/cpu/online)