Author Topic: problem to profile jpeg code with gprof  (Read 2446 times)

system85

  • Guest
problem to profile jpeg code with gprof
« 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

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: problem to profile jpeg code with gprof
« Reply #1 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!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]