Im using a linux system (kubuntu) and need to compare two equivalent programms in terms of memory usage and cpu consumption.
I need to do it using c (gcc compiler)... not a utility or something like that
Which library or sys call can I use to meassure the memory usage and cpu time consumption of a programm in c??
Perhaps something in /proc could be helpful? or iostat?
curse of the golden flower
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment