If I have written a programme and I want to optimize the algorithm. But I want to know which module consumes most of the time. How can I profile the programme in CodeBlocks IDE ?

It seems that I have missed some plugins because it didn't do anything even if I have submitted the profile option.

Can you tell me how to fix it ? Thank you