home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / mswindo / programm / win32 / 3007 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.2 KB  |  25 lines

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