function devel_timer
Same name in other branches
- 6.x-1.x devel.module \devel_timer()
Displays page execution time at the bottom of the page.
Return value
string A message indicating how long it took to execute the page.
1 call to devel_timer()
- devel_shutdown_summary in ./
devel.module - Returns the rendered shutdown summary.
4 string references to 'devel_timer'
- devel_admin_settings in ./
devel.admin.inc - Form constructor for the settings form.
- devel_shutdown_summary in ./
devel.module - Returns the rendered shutdown summary.
- devel_uninstall in ./
devel.install - Implements hook_uninstall().
- devel_update_7008 in ./
devel.install - Change variable "dev_timer" to "devel_timer".
File
-
./
devel.module, line 1847
Code
function devel_timer() {
$time = timer_read('page');
return t_safe(' Page execution time was @time ms.', array(
'@time' => $time,
));
}