Program profiler Find out what function is causing the bottleneck in your program. Understanding the profilerThe profiler is a tool built into the runtime system that allows you to know where your program spends processing time, and which function calls which function.Syntax of the program profilerThe program profiler is enabled by using the -p option of fglrun.Profiler output: Flat profileThe flat profile shows a summary of the functions called during the program execution. Profiler output: Call graphThe profiler call graph provides detailed function call information.ExampleProgram profiler example.