+ $poller_up_start = microtime(true);
+
+ /* With these values we can analyze how effective the worker is.
+ * The database and rest time should be low since this is the unproductive time.
+ * The execution time is the productive time.
+ * By changing parameters like the maximum number of workers we can check the effectivness.
+ */
+ logger('DB: '.number_format($poller_db_duration, 2).
+ ' - Lock: '.number_format($poller_lock_duration, 2).
+ ' - Rest: '.number_format($up_duration - $poller_db_duration - $poller_lock_duration, 2).
+ ' - Execution: '.number_format($duration, 2), LOGGER_DEBUG);
+ $poller_lock_duration = 0;
+