Source code of Windows XP (NT5)
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.

70 lines
4.5 KiB

  1. #include "windows.h"
  2. #include "wperf.h"
  3. WINPERF_ICON ICON wperf.ico
  4. IDM_SEL_DLG DIALOG 3, 17, 215, 280
  5. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  6. CAPTION "Wperf Option Selection"
  7. FONT 8, "MS Shell Dlg"
  8. BEGIN
  9. DEFPUSHBUTTON "OK", IDOK, 35, 260, 40, 14
  10. PUSHBUTTON "Cancel", IDCANCEL, 140, 260, 40, 14
  11. GROUPBOX "CPU", IDM_CPU_GRP, 110, 50, 100, 205
  12. GROUPBOX "Performance Selection", IDM_PERF_GRP, 5, 10, 100, 245
  13. GROUPBOX "Graph Style", IDM_STYLE_GRP, 110, 10, 100, 40
  14. AUTOCHECKBOX "CPU Total", IDM_CPU_TOTAL, 113, 62, 50, 10,WS_TABSTOP | WS_GROUP
  15. AUTOCHECKBOX "CPU 0", IDM_CPU0, 113, 77, 40, 10,WS_TABSTOP | WS_GROUP
  16. AUTOCHECKBOX "CPU 1", IDM_CPU1, 113, 92, 40, 10,WS_TABSTOP | WS_GROUP
  17. AUTOCHECKBOX "CPU 2", IDM_CPU2, 113, 107, 40, 10,WS_TABSTOP | WS_GROUP
  18. AUTOCHECKBOX "CPU 3", IDM_CPU3, 113, 122, 40, 10,WS_TABSTOP | WS_GROUP
  19. AUTOCHECKBOX "CPU 4", IDM_CPU4, 113, 137, 40, 10,WS_TABSTOP | WS_GROUP
  20. AUTOCHECKBOX "CPU 5", IDM_CPU5, 113, 152, 40, 10,WS_TABSTOP | WS_GROUP
  21. AUTOCHECKBOX "CPU 6", IDM_CPU6, 113, 167, 40, 10,WS_TABSTOP | WS_GROUP
  22. AUTOCHECKBOX "CPU 7", IDM_CPU7, 113, 182, 40, 10,WS_TABSTOP | WS_GROUP
  23. AUTOCHECKBOX "CPU 8", IDM_CPU8, 158, 77, 40, 10,WS_TABSTOP | WS_GROUP
  24. AUTOCHECKBOX "CPU 9", IDM_CPU9, 158, 92, 40, 10,WS_TABSTOP | WS_GROUP
  25. AUTOCHECKBOX "CPU 10", IDM_CPU10, 158, 107, 40, 10,WS_TABSTOP | WS_GROUP
  26. AUTOCHECKBOX "CPU 11", IDM_CPU11, 158, 122, 40, 10,WS_TABSTOP | WS_GROUP
  27. AUTOCHECKBOX "CPU 12", IDM_CPU12, 158, 137, 40, 10,WS_TABSTOP | WS_GROUP
  28. AUTOCHECKBOX "CPU 13", IDM_CPU13, 158, 152, 40, 10,WS_TABSTOP | WS_GROUP
  29. AUTOCHECKBOX "CPU 14", IDM_CPU14, 158, 167, 40, 10,WS_TABSTOP | WS_GROUP
  30. AUTOCHECKBOX "CPU 15", IDM_CPU15, 158, 182, 40, 10,WS_TABSTOP | WS_GROUP
  31. AUTOCHECKBOX "Page Faults / Sec", IDM_PGFLT , 8, 30, 90, 10,WS_TABSTOP | WS_GROUP
  32. AUTOCHECKBOX "Pages Available", IDM_PGAV, 8, 45, 90, 10,WS_TABSTOP | WS_GROUP
  33. AUTOCHECKBOX "Context Switch / Sec", IDM_CONTEXT, 8, 60, 90, 10,WS_TABSTOP | WS_GROUP
  34. AUTOCHECKBOX "1st Level TB Fills / Sec", IDM_1TB , 8, 75, 90, 10,WS_TABSTOP | WS_GROUP
  35. AUTOCHECKBOX "2nd Level TB Fills / Sec", IDM_2TB , 8, 90, 90, 10,WS_TABSTOP | WS_GROUP
  36. AUTOCHECKBOX "System Calls / Sec", IDM_SYSCALL, 8, 105, 90, 10,WS_TABSTOP | WS_GROUP
  37. AUTOCHECKBOX "Interrupts / Sec", IDM_INT , 8, 120, 90, 10,WS_TABSTOP | WS_GROUP
  38. AUTOCHECKBOX "Paged Pool", IDM_POOL , 8, 135, 90, 10,WS_TABSTOP | WS_GROUP
  39. AUTOCHECKBOX "Non Paged Pool", IDM_NONPOOL, 8, 150, 90, 10,WS_TABSTOP | WS_GROUP
  40. AUTOCHECKBOX "Process Count", IDM_PROCESS, 8, 165, 90, 10,WS_TABSTOP | WS_GROUP
  41. AUTOCHECKBOX "Thread Count", IDM_THREAD , 8, 180, 90, 10,WS_TABSTOP | WS_GROUP
  42. AUTOCHECKBOX "Align Fixup Count", IDM_ALIGN , 8, 195, 90, 10,WS_TABSTOP | WS_GROUP
  43. AUTOCHECKBOX "Except Dsptch Count", IDM_EXCEPT , 8, 210, 90, 10,WS_TABSTOP | WS_GROUP
  44. AUTOCHECKBOX "Float Emulat Count", IDM_FLOAT , 8, 225, 90, 10,WS_TABSTOP | WS_GROUP
  45. AUTOCHECKBOX "Inst Emulat Count", IDM_INS_EMUL, 8, 240, 90, 10,WS_TABSTOP | WS_GROUP
  46. AUTORADIOBUTTON "CPU Line Graph", IDM_SEL_LINE, 113, 22, 65, 10,WS_TABSTOP | WS_GROUP
  47. AUTORADIOBUTTON "CPU Bar Graph", IDM_SEL_BAR, 113, 37, 65, 10,WS_TABSTOP
  48. END
  49. winperfMenu MENU
  50. BEGIN
  51. POPUP "&File"
  52. BEGIN
  53. MENUITEM "E&xit",IDM_EXIT
  54. END
  55. MENUITEM "&SELECT" ,IDM_SELECT
  56. END
  57. #include <ntverp.h>
  58. #define VER_FILETYPE VFT_APP
  59. #define VER_FILESUBTYPE VFT2_UNKNOWN
  60. #define VER_FILEDESCRIPTION_STR "Windows NT Simple performance Monitor"
  61. #define VER_INTERNALNAME_STR "wperf.exe"
  62. #define VER_ORIGINALFILENAME_STR "wperf.exe"
  63. #include "common.ver"