code: public function startProfiling()
      {
          // Magento configuration is now available and we can init
          $this->canCapture = Mage::helper('sheep_debug')->canCapture();
  
          // Are we still allowed to collect
          if (!$this->canCapture) {
              return;
          }
  
  
          $requestInfo = $this->getRequestInfo();
          $requestInfo->setIsStarted(true);
  
          // Register shutdown function
          $this->registerShutdown();
  
  
          // Init profile
          $requestInfo->setStoreId($this->getCurrentStore()->getId());
          $requestInfo->setDate(date('Y-m-d H:i:s'));
          $requestInfo->initController();
          $requestInfo->initLogging();
  
          if (Mage::helper('sheep_debug')->canEnableVarienProfiler()) {
              Varien_Profiler::enable();
          }
  
          // use customer Zend Db Profiler that also records stack traces
          $stackTraceProfiler = Mage::getModel('sheep_debug/db_profiler');
          $stackTraceProfiler->setCaptureStacktraces(Mage::helper('sheep_debug')->canEnableSqlStacktrace());
          $stackTraceProfiler->replaceProfiler();
      }
docs: Called to mark that we can start profile execution of specified request