Operating System - HP-UX
1828306 Members
3173 Online
109975 Solutions
New Discussion

Measuring C/C++ Process Execution Time and Memory Consumption

 
Chris_164
Contributor

Measuring C/C++ Process Execution Time and Memory Consumption

Does anyone know how to programaticaly calculate the cpu and memory consumption of a given c/c++ application? I need information like the number of cpu ticks, cpu time (i.e. user, system, etc.), and the amount of memory consumed.

Thanks,
Chris Thompson
1 REPLY 1
harry d brown jr
Honored Contributor

Re: Measuring C/C++ Process Execution Time and Memory Consumption