code: public function initQueries()
      {
          $this->queries = array();
  
          $profiler = Mage::helper('sheep_debug')->getSqlProfiler();
          if ($profiler->getEnabled() && $profiler instanceof Sheep_Debug_Model_Db_Profiler) {
              /** @var Zend_Db_Profiler_Query[] $queries */
              $this->queries = $profiler->getQueryModels() ?: array();
              $this->setQueryCount($profiler->getTotalNumQueries());
              $this->setQueryTime($profiler->getTotalElapsedSecs());
          }
      }
docs: Sets request query from current sql profiler