Add profiling log in main loop
This information will not be displayed unless DEBUG mode is set