Add extra timing debug.

Issue: #1162
This commit is contained in:
Dave Davenport 2020-08-19 22:44:55 +02:00
parent 802a9489e7
commit 4f1169e326
1 changed files with 4 additions and 0 deletions

View File

@ -1110,15 +1110,19 @@ int main ( int argc, char *argv[] )
}
rofi_view_workers_initialize ();
TICK_N ( "Workers initialize" );
rofi_icon_fetcher_init ( );
TICK_N ( "Icon fetcher initialize" );
// Create pid file
int pfd = create_pid_file ( pidfile );
TICK_N ( "Pid file created" );
if ( pfd < 0 ) {
cleanup ();
return EXIT_FAILURE;
}
textbox_setup ();
TICK_N ( "Text box setup" );
if ( !display_late_setup () ) {
g_warning ( "Failed to properly finish display setup" );