code: public function getEvents()
      {
          if ($this->events === null) {
              $this->events = array();
  
              foreach ($this->getTimers() as $timerName => $timer) {
                  if (strpos($timerName, 'DISPATCH EVENT:') === 0) {
                      $this->events[str_replace('DISPATCH EVENT:', '', $timerName)] = array(
                          'name'     => str_replace('DISPATCH EVENT:', '', $timerName),
                          'count'    => $timer['count'],
                          'sum'      => round($timer['sum'] * 1000, 2), // ms
                          'mem_diff' => $timer['realmem'] / pow(1024, 2), // mb
                      );
                  }
              }
          }
  
          return $this->events;
      }
docs: Returns list of events dispatched during request.
  This is extracted from data captured by Varien Profiler
  
  @return array