1

Possible Duplicate:
How to determine CPU and memory consumption from inside a process?

what is the best way (multi platform) to get the memory usage in c++? It's possible to get also a CPU usage?

Community
  • 1
  • 1
Safari
  • 11,437
  • 24
  • 91
  • 191
  • Please clarify: You want to get the overall memory footprint of your own process or other processes? Is this a runtime requirement or you need it for debugging? – Component 10 May 14 '12 at 10:19
  • 3
    Possible duplictae: http://stackoverflow.com/questions/10517295/multiplatform-library-for-accessing-system-resource-information – tinman May 14 '12 at 10:39
  • I would like to know the employment runtime of my program written in C++ without using system tools. I would put these calls in some parts of my code – Safari May 14 '12 at 13:03

0 Answers0