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

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.


Viewing all articles
Browse latest Browse all 22014

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>