SAMPLE: Measuring System Timings by Using Printer PortLast reviewed: February 15, 1996Article ID: Q97402 |
The information in this article applies to:
SUMMARYUse Your Printer Port to Measure System Timings Herman Rodent Microsoft Developer Network Technology Group Created: January 4, 1993 If you need to measure interrupt latency, interrupt-service-routine execution time, or procedure call overhead---or if you just plain want to know why your application is so slow---here's an article that describes a simple way to use a printer port and an oscilloscope to do timing measurements. If you don't know what an oscilloscope is, you can either stop reading now and return to struggling with your code, or look forward to renting a new toy to play with. PPDEBUG.ASM is an assembly language code module that provides C-callable services to set and clear the bits on the printer port. PPDBG.INC is an assembly language include file that provides macros to assembly language code modules. These modules demonstrate the concepts discussed in the "Use Your Printer Port to Measure System Timings" technical article on the Microsoft(R) Developer Network CD. Download PPDEBUG.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
|
Additional reference words: 3.10 softlib PPDEBUG.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |