🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #1824

Getting times and memory utilization for an executing process (Win32)

#1824
From: Jacob Levy
Date: Wed, 23 Dec 1992 09:47
16 lines
1173 bytes
I asked this in the programmer.win32 group but got no answer. Since Win32
is a superset of Win16, it occurred to me to ask here - maybe the API had
not changed all that much, and maybe I'd get a pointer to where to start
looking.

Anyways, I need to get the elapsed time, cpu time and percentages of user
and kernel time for a process executing on Windows/NT written using the
Win32 API. I know it's possible because I've seen PVIEW.EXE and debuggers
do it. How would this be done in Windows 3.1? Also, how do I find out how
much memory (and what kinds of memory) are being used by each DLL used by a
program?

Many thanks for any and all insights,

--JYL
Technical Details
Message-ID: <JYL.92Dec23094753@burgess.eng.sun.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!appserv.Eng.Sun.COM!appserv!jyl

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!sun-barr!male.EBay.Sun.COM!exodus.Eng.Sun.COM!appserv.Eng.Sun.COM!appserv!jyl
From: jyl@burgess.eng.sun.com (Jacob Levy)
Newsgroups: comp.os.ms-windows.programmer.misc
Subject: Getting times and memory utilization for an executing process (Win32)
Date: 23 Dec 92 09:47:53
Organization: What?! Organization???
Lines: 16
Message-ID: <JYL.92Dec23094753@burgess.eng.sun.com>
Reply-To: jyl@toss.eng.sun.com
NNTP-Posting-Host: burgess