![]() |
|
#1
|
|||
|
|||
Monitoring Thread SizeHi,
I'm trying to write an application to monitor threads, which would work in a similar way to taskmanager except with threads and not processes. I'm having trouble however finding out how much memory each thread uses. I've tried using the HEAPENTRY32 & THREADENTRY32 structures to run through the heap but I cannot separate which bit of heap belongs to which thread, so its not much use to me. I've no idea if this is the easiest way of doing this, so if anyone knows a better way or how to make this way work then I'd be very grateful. Thanks Mark |
Recent GIDBlog
US Elections and the ?Voter?s Responsibility? by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A Phonebook.cpp problem | redthestudent | C++ Forum | 27 | 23-Jul-2005 12:10 |
| Determing size of a binary file | Dream86 | C++ Forum | 7 | 01-Jun-2005 11:10 |
| Sending message to GUI thread that ISNT the main thread | mpviii | MS Visual C++ / MFC Forum | 1 | 20-Apr-2005 13:49 |
| template comiling problems - need expert debugger! | crq | C++ Forum | 1 | 01-Feb-2005 22:26 |
| Having a problem | Chuckles | Computer Hardware Forum | 19 | 13-Sep-2004 13:17 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The