/**
  * Sets start time and performs output initialization before running work
  */
 protected function runWork()
 {
     $this->startTime = microtime(true);
     $this->workerStateList = [];
     $this->setupOutput();
     parent::runWork();
 }
 protected function runWorkers()
 {
     $this->setupOutput();
     parent::runWorkers();
     foreach ($this->workerList as $worker) {
         $this->sendPing($worker);
     }
 }