Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.7 KiB

  1. <HTML>
  2. <HEAD>
  3. <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
  4. <META NAME="Generator" CONTENT="Microsoft Word 97">
  5. <TITLE>DiskPerf</TITLE>
  6. <META NAME="Template" CONTENT="C:\PROGRAM FILES\MICROSOFT OFFICE\OFFICE\html.dot">
  7. </HEAD>
  8. <BODY TEXT="#000000" LINK="#0000ff" VLINK="#800080" BGCOLOR="#ffffff" leftmargin="8">
  9. <FONT FACE="Verdana"><H2><A NAME="diskperf">DiskPerf</A> </H2>
  10. <H3>Summary</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  11. The DiskPerf filter driver monitors disk-accesses, capturing performance data.
  12. It supports Plug and Play, Power Management, and WMI . It is
  13. <I>not</I> 64-bit compliant.<P>
  14. <H3>Building the Sample</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  15. To build the sample, run the <b>build</B> command. Once built, this sample
  16. will create one binary: diskperf.sys.
  17. <H3>Running the Sample</H3></FONT><FONT FACE="Verdana" SIZE=2><P>
  18. The DiskPerf driver should be installed as an upper filter driver for a disk or
  19. volume device. To install this driver right-click on diskperf.inf in Windows Explorer
  20. and select "Install" from the menu that is displayed.
  21. <H3>CODE TOUR</H3>
  22. <H4>File Manifest</H4>
  23. </FONT><U><PRE>File&#9;&#9; Description
  24. </U>
  25. Diskperf.c&#9; Main code base
  26. Diskperf.rc&#9; Resource file
  27. Makefile&#9; Makefile
  28. Sources&#9; Sources
  29. </FONT><P ALIGN="CENTER"><A HREF="#top"><FONT FACE="Verdana" SIZE=2>Top of page</FONT></A><FONT FACE="Verdana" SIZE=2> </P></FONT>
  30. <TABLE CELLSPACING=0 BORDER=0 WIDTH=624>
  31. <TR><TD VALIGN="MIDDLE" BGCOLOR="#00ffff" HEIGHT=2>
  32. <P></TD>
  33. </TR>
  34. </TABLE>
  35. <FONT FACE="MS Sans Serif" SIZE=1><P>&copy; 1999 Microsoft Corporation</FONT><FONT FACE="Verdana" SIZE=2> </P></FONT></BODY>
  36. </HTML>