C Application Analysis

tsume

The Pervy Sage
Joined
Apr 19, 2010
Messages
21,130
Reaction score
373
Location
In the vasts of the internet
Finally completed creating a program in C :). Now I need to do some analysis to it's efficiency especially since I'm comparing to the amount of threads used. Usually for other programming languages I just code in a timer and use that for analysis but I was thinking since C is much closer to OS operations isn't there something I can call at the start of the application and at the end to give me an stats on memory and cpu usage of the application?

Oh yeah I'm using Netbeans and it does give a graph of CPU usage but not a number, how can I change this. There is also a memory usage graph but shows "Please select another Data Provider to enable this indicator" :confused:.
 
Last edited:
Well it all depends how detailed you want to be in your analysis. Depending on your hardware, you may be able to make use of high performance counters. That will give you some really useful information in the profiling process.
 
Top
Sign up to the MyBroadband newsletter
X