diff --git a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig
index cc7552fa62..d283182720 100644
--- a/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig
+++ b/src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.html.twig
@@ -14,14 +14,15 @@
{% endif %}
{% block toolbar %}
+ {% set total_time = collector.events|length ? '%.0f ms'|format(collector.totaltime) : 'n/a' %}
{% set icon %}
- {{ '%.0f'|format(collector.totaltime) }} ms
+ {{ total_time }}
{% endset %}
{% set text %}
+ No timing events have been recorded. Are you sure that debugging is enabled in the kernel ? +
+ {% endif %} +{% endblock %} +{% block panelContent %}