This is a backport to the released timer functionality:

function devel_timer() {
 global $timer;

  list($usec, $sec) = explode(' ', microtime());
  $stop = (float)$usec + (float)$sec;
  $diff =  round(($stop - $timer),6) ;
 return t(' Page execution time was %time S.', array('%time' => $diff));
}

Comments

moshe weitzman’s picture

or just disable the timer feature on admin/settings/devel ... we don't branch this module in order to minimize maintainence

moshe weitzman’s picture

Status: Active » Closed (works as designed)