Click here to Skip to main content
15,922,894 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to use getrusage in my code.
Is this function for a particular operating system? and whether this function can defined and available on windows?
Posted

1 solution

Based on Google what I found, it looks like it refers Unix/Linux based libraries. Thus I doubt you would be able to use it in Windows.

Supporting links:
Issue while using it in C++[^]
http://linux.die.net/man/2/getrusage[^]
http://www.opengroup.org/onlinepubs/009695399/functions/getrusage.html[^]
http://linux.about.com/library/cmd/blcmdl2_getrusage.htm[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900