charfi asma <charfiasma@xxxxxxxx> writes: > I heared that gprof can provide such info, am I wrong ? You can use gprof to tell you how much time is spent in different functions in your program, yes. > One of code optimization goal is to reduce execution time, and gcc users had to measure the execution time of a program to evaluate optimizations. > they should be familiar with tools that measures the execution time... Sure. For example, the Unix time command. Ian