From 263bc88575490c20b19c749f3248eeebce4fd2f0 Mon Sep 17 00:00:00 2001 From: luboslenco Date: Mon, 30 Mar 2026 15:49:43 +0200 Subject: [PATCH] paint: start time --- paint/sources/kickstart.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/paint/sources/kickstart.c b/paint/sources/kickstart.c index 4ed93138..413d3f72 100644 --- a/paint/sources/kickstart.c +++ b/paint/sources/kickstart.c @@ -5022,6 +5022,11 @@ void _kickstart() { config_init(); context_init(); sys_start(config_get_options()); + +#ifdef is_debug + double t_start = iron_time(); +#endif + if (config_raw->layout == NULL) { config_init_layout(); } @@ -5046,5 +5051,10 @@ void _kickstart() { #endif base_init(); + +#ifdef is_debug + iron_log("Started in %fs\n", iron_time() - t_start); +#endif + iron_start(); }