Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: system85 on July 04, 2011, 12:54:44 pm

Title: problem to profile jpeg code with gprof
Post by: system85 on July 04, 2011, 12:54:44 pm
hello
I want to work with jpeg code .
I dwnload the code and i compile it in unbunto machine.
Than i run the executable and i can obtain a jpg image from a .png image.
The problem that when i launch the profiling "gprof executable gmon.out > gprof.output" i obtain (in the gprof.output) execution time of onlu three function with 0 Time %.
Can you help me ?
Thanks
Title: Re: problem to profile jpeg code with gprof
Post by: oBFusCATed on July 04, 2011, 01:39:33 pm
No, ask in a forum supporting gprof.
And also read the manual of gprof!

p.s. Probably you're using libjpeg as shared lib or most of the time is spent reading the file. gprof works for cpu only load!