home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!haven.umd.edu!darwin.sura.net!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!decwrl!deccrl!news.crl.dec.com!news!nntpd.lkg.dec.com!sousa.ltn.dec.com!perkins
- From: perkins@sousa.ltn.dec.com (Eric Perkins)
- Newsgroups: comp.os.ms-windows.programmer.win32
- Subject: Found functions that might give CPU time?
- Message-ID: <1711@sousa.ltn.dec.com>
- Date: 8 Sep 92 18:26:39 GMT
- Sender: newsa@sousa.ltn.dec.com
- Reply-To: perkins@sousa.ltn.dec.com (Eric Perkins)
- Organization: Digital Equipment Corporation, Littleton MA
- Lines: 44
-
-
- Well, I sort of answered my last question. By using the COFF
- utility that was provided with the SDK, I dumped out the imported
- functions, and sure enough there is a set of them, from the
- ntdll.dll module, which I am sure has the information that I
- need to get the amount of CPU time a process/thread is taking. Fuctions
- like NtQueryInformationProcess might be useful.
-
- Is Microsoft going to make these calls public? Here is the list of
- calls that I found PVIEW.EXE making:
-
- =========================================================================
- ntdll.dll
-
- 700E8 characteristics
- 0 time date stamp Sat Feb 05 22:28:16 2106
- 0.0 version
-
- 25 NtClose
- 4E NtGetContextThread
- 68 NtOpenThread
- 76 NtQueryInformationProcess
- 7C NtQueryObject
- 83 NtQuerySystemInformation
- 87 NtQueryVirtualMemory
- 8C NtReadVirtualMemory
- 12A RtlExtendedIntegerMultiply
- 138 RtlFreeAnsiString
- 151 RtlInitAnsiString
- 162 RtlLargeIntegerAdd
- 164 RtlLargeIntegerDivide
- 168 RtlLargeIntegerSubtract
- 1B6 RtlTimeToTimeFields
- 1B8 RtlUnicodeStringToAnsiString
- 1CB RtlZeroMemory
- 1C1 RtlUnwind
-
- =========================================================================
-
-
- -- Eric Perkins
- -- perkins@tallis.enet.dec.com
- -- Views and comments are my own and not those of my employer.
-
-