We have an C application which is not written by me. We need to measure the performance in terms of CPU and memory usage. I have never done the performance test, therefore I am not aware of tools which can be used to get the CPU and memory consumption details.
I tried to search SO and google but I am not sure what to use and how to do.
It would be of great help to me if I can get some guidance here.
EDIT: I am not looking for profilers which I understand tells about the performance of code blocks. I just want to monitor the resources consumed by the application. We are not going to improve the code. This is just for comparison with other products. It's something what task manager shows in windows about each process. Just that I want. I found few tools like nmon, munin, collectd, collectl but still confused how to use them. Trying to understand but any help appreciated.
Thanks