Tecknomage
Mon Mar 31 04:59:17 PDT 2008
On Fri, 28 Mar 2008 03:48:48 -0700 (PDT), Rahul
<rahulsharma@lucent.com> wrote:
> Hi,
>
> Is there any tool/MFC API available in windows XP to know precisely
> how much time a process spent in wait queue and how much time it spent
> in the "Ready to Run" Queue. I need the two times individually
> wheareas GetProcessTime gives the total wait time which is teh sum of
> both.
>
> Thanks in advance
This MAY not be what you need, look at Microsoft's Process Explorer
(URL follows)freeware, enhanced Task Manager.
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx
Suggest adding settings of:
Allow Only One Instance
Hide when Minimized
Show lower pane
View, Processes Performance tab, add (check) Threads & Handles
Note that this does NOT replace Task Manager.
Also, the download is not an install. Just UnZIP, place in a folder
of your choice, create shortcuts to the EXE.
It is handy to add a shortcut to PE in your Startup folder, start
minimized, so it shows up in the Taskbar Tray. Not recommended for
game players or other high resource apps like compilers.
IMHO it's best feature is Find. Get those "whatever.DLL has caused a
problem..." error dialogs, IF you leave the dialog open you can use PE
Find to search for "whatever.DLL" and PE will show you what task
called it.
--
======== Tecknomage ========
Computer Systems Specialist
San Diego, CA