benchmark->marker as $key => $val) { // We match the "end" marker so that the list ends // up in the order that it was defined if (preg_match("/(.+?)_end/i", $key, $match)) { if (isset($obj->benchmark->marker[$match[1].'_end'])) { $times[$match[1]] = $obj->benchmark->elapsed_time($match[1].'_start', $key); } } } return $times; } // -------------------------------------------------------------------- } // END CI_Profiler class ?>