timer-based sampling of statistics
Let maestro-core report heartbeat of statistics at a user-defined frequency.
-
Add env variable MSTRO_TELEMETRY_HEARTBEATin seconds (supporting fractional value).0indicates 'disable', and is the default -
Add thread with sigitimerand lots of sleep (usingpoll(NULL,...)orsleepor by hooking into a PC thread active timer counting.
Edited by Utz-Uwe Haus