Debug logs are ON by default. It is recommended to disable all debug logs before figuring out performance figures to avoid delays due to printing logs. To analyze the boot time of an application running on a core, the debug log of SBL Stage1 Bootloader, SBL Stage2 Bootloader, DM firmware and application logs have to be disabled. Follow the below steps to do so taking OSPI bootloader as an example
Navigate to make file of SBL Stage1 Bootloader in mentioned path
Browse to 'DEFINES_common' section as below and add the flag ' DEBUG_LOG_DISABLE ' like below in makefile
Navigate to make file of SBL Stage2 Bootloader in mentioned path
Browse to 'DEFINES_common' section as below and add the flag ' DEBUG_LOG_DISABLE ' like below in makefile
Navigate to make file of sciserver driver in mentioned path
Browse to 'DEFINES_common' section as below and add the flag ' DEBUG_LOG_DISABLE ' like below in makefile
Disable the debug logs of desired application to be run
Rebuild libraries, SBL Stage1 bootloader, SBL Stage2 bootloader and proceed with the benchmarking