home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.win32
- Path: sparky!uunet!microsoft!hexnut!alistair
- From: alistair@microsoft.com (Alistair Banks)
- Subject: Re: Getting user/kernel CPU times for current process...
- Message-ID: <1993Jan21.170810.7614@microsoft.com>
- Date: 21 Jan 93 17:08:10 GMT
- Organization: Microsoft Corporation
- References: <1993Jan17.143256.1671@mkseast.uucp>
- Lines: 14
-
- In article <1993Jan17.143256.1671@mkseast.uucp> dale@mkseast.uucp (Dale Gass) writes:
- >I'm trying to find a way to for a proces to find out the the amount of CPU
- >time (user and system if possible) that it (and it's children, if possible)
- >have consumed.
-
- You'll find all this information available through the win32
- registry APIs - if you're debugging/disassembling any code today,
- you'll find that we won't be using those APIs in future, and that they'll
- go away. The full registry functionality was somewhat later to be
- implemented, and so early utilities used APIs which are only
- temporary - the great advantage in using the registry is that these
- statistics can be gatherd for any process on any machine, local or
- remote [we don't document APIs which are going away and which we know to
- be temporary, another great Microsoft tradition!] -- Alistair
-