GIDForums  

Go Back   GIDForums > Computer Programming Forums > MS Visual C++ / MFC Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 04-May-2006, 10:09
mark343 mark343 is offline
New Member
 
Join Date: May 2006
Posts: 1
mark343 is on a distinguished road

Monitoring Thread Size


Hi,

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 GIDBlogUS Elections and the ?Voter?s Responsibility? by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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

All times are GMT -6. The time now is 09:49.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.