Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22250

How to do time profiling of a C program in HP-UX?

$
0
0

I want to do a time-based profiling of an application written in C on HP-UX. I want to see which function is taking maximum amount of time, slowing down the operational duration. Is there a way to do it? I know I can use -p option in Linux and generate mon.out and then use prof command to generate the profile. But, I don't think that's the correct compiler option on HP-UX.

I would love to get some help here. I did find one similar answer here:Is there a profiler for C (gcc) to profile code lines separately?

However, I did not quite extract the thing I need, especially for HP-UX fro this post.

Thanks in advance. Please have a consideration if I did not choose the correct set of words.

Regards.


Viewing all articles
Browse latest Browse all 22250

Trending Articles