diff --git a/src/Context.cpp b/src/Context.cpp index 786a6e98e..1f83d7169 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -316,13 +316,15 @@ int Context::run () << " commit:" << timer_commit.total () << " sort:" << timer_sort.total () << " render:" << timer_render.total () + << " hooks:" << timer_hooks.total () << " total:" << (timer_init.total () + timer_load.total () + timer_gc.total () + timer_filter.total () + timer_commit.total () + timer_sort.total () + - timer_render.total ()) + timer_render.total () + + timer_hooks.total ()) << "\n"; debug (s.str ()); } diff --git a/src/Context.h b/src/Context.h index 905b7f187..28af481ec 100644 --- a/src/Context.h +++ b/src/Context.h @@ -120,6 +120,7 @@ public: Timer timer_commit; Timer timer_sort; Timer timer_render; + Timer timer_hooks; }; #endif