getrusage() is a Unix function that measures resources used by the current process
Questions tagged [getrusage]
47 questions
0
votes
1 answer
Python getrusage with RUSAGE_CHILDREN behaves stangely?
Recently I have made a plan to develop a Online Judge system (like spoj). And I have write a judge script in python. It forks every time when it receives one submitted code, and then compile the code and use subprocess.Popen to start the program.…

Yifu Yu
- 17
- 1
- 6
-1
votes
1 answer
C++ Object allocation and deallocation
Following program creates Objects in one loop and store the reference in vector for future deletion.
I am seeing an unusual behavior, even though the objects are deleting in the second iteration, the getrusage gives a resident memory higher…

Harikrishnan R
- 1,444
- 4
- 16
- 27