Basic profiling information can be generated using the OS utility gprof.
First, compile the code with the compiler flags -p -g for the Intel compiler (-g on the Intel compiler does not change the optimization level) or -pg for the GCC compiler.
Second, run the program.