Resource Usage and System Calls

Hi All,

what are the system calls to get System Resource usage in a c/c++ program...like:
1. execution time
2. CPU Usage
3. Memory Usage
etc...

...Menaka
menakaindraniAsked:
Who is Participating?
 
brettmjohnsonConnect With a Mentor Commented:
Check out getrusage()
0
 
aib_42Commented:
This is system dependant. Please tell us about your operating system and programming environment.
0
All Courses

From novice to tech pro — start learning today.