![]() |
| | #1 |
| Registered User Join Date: Aug 2001
Posts: 1,301
| measuring system resources used by a function Does anyone have an idea of what I should do to measure the system resources used by a function? Google searches haven't turned up any relevant results from which i could garner any useful information. The project is due a week from wednesday. I've tried asking the professor what he means, but he is, simply put, a poor teacher--he just repeats "you have to measure system resources" without adding anything and or clarifying anything. My classmates seem to be as in the dark as I am. Any help would be greatly appreciated. I'm NOT asking to have code written for me. I just want people with more experience with programing than myself to interpret this assignment and perhaps clarify what i should do, point me to a relevant tutorial, or give me some tips. |
| Aran is offline | |
| | #2 | |
| Frequently Quite Prolix Join Date: Apr 2005 Location: Canada
Posts: 7,629
| Quote:
As for "resources", if you mean memory, try a memory management package or something. [edit] Might help: http://www.cprogramming.com/debugging/valgrind.html [/edit]
__________________ dwk Seek and ye shall find. quaere et invenies. "Simplicity does not precede complexity, but follows it." -- Alan Perlis "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra "The only real mistake is the one from which we learn nothing." -- John Powell Other boards: DaniWeb, TPS Unofficial Wiki FAQ: cpwiki.sf.net My website: http://dwks.theprogrammingsite.com/ Projects: codeform, xuni, atlantis, etc. New project: nort | |
| dwks is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Getting an error with OpenGL: collect2: ld returned 1 exit status | Lorgon Jortle | C++ Programming | 6 | 05-08-2009 08:18 PM |
| My calculation, delete and update functions dont work (Programming language C) | TKaeWoods | C Programming | 2 | 03-05-2009 10:25 AM |
| In over my head | Shelnutt2 | C Programming | 1 | 07-08-2008 06:54 PM |
| Change this program so it uses function?? | stormfront | C Programming | 8 | 11-01-2005 08:55 AM |
| I need help with passing pointers in function calls | vien_mti | C Programming | 3 | 04-24-2002 10:00 AM |