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.

121 lines
3.3 KiB

  1. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  2. ;; This is a sample mshtmdbg.ini
  3. ;; Copy this to your windows directory (%windir% -- c:\winnt)
  4. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  5. ; ***PerfTags are sort of a mini-profile. These let you dump info in retail mode with
  6. ; attached timing info. There is pad script to control starting/stoping/clearing/dumping
  7. ; of this info. You can build by setting use_perftags_in_retail_build or
  8. ; use_perftags_in_meter_build. I have some tools for analyzing this data if you are
  9. ; interested. In debug, most of these are exposed as regular debug tags
  10. [perftags]
  11. ;***Open up the perftags dialog automatically
  12. ;AutoOpen=1
  13. ;***Automatically dump at pad shutdown
  14. ;AutoDump=1
  15. ;***Overwrite the dump file instead of appending
  16. ;OverwriteDump=1
  17. ;***Don't put all the summary stuff in the dump
  18. ;SimpleDump=1
  19. ;***File to dump too
  20. ;DumpFile=z:\perftags.log
  21. ;***Buffer size to prealloc
  22. ;PreAllocLog=5103616
  23. ;***Turn individual tags on and off here.
  24. tagPerfScript=1
  25. tagPerfWatch=1
  26. tagPerfWatchPad=1
  27. tagDwnBindData=0
  28. tagDwnCtx=0
  29. tagDwnChan=0
  30. tagTableExpand=1
  31. tagRecRequest=1
  32. tagDBTask=1
  33. tagDataTransfer=1
  34. ; ***The meter dialog lets you track resource and statistics.
  35. ; The meter dialog also lets you simulate out of memory conditions --
  36. ; either on a global level or on a meter tag by tag level. I didn't
  37. ; get around to saving the tags by tag stuff in mshtmdbg.ini
  38. [perfmeter]
  39. ;***Automatically open the meter dialog
  40. ;AutoOpen=1
  41. ;***Automatically start loging meter changes
  42. ;AutoLog=1
  43. ;***Dump at pad shutdown
  44. ;AutoDump=1
  45. ;***Simulate out of memory
  46. ;OutOfMemory=1
  47. ;***Only OOM every n allocations
  48. ;OutOfMemoryCycle=500
  49. ; ***switches that only affect profile mode
  50. [profile]
  51. ;***use shdocvw
  52. ;shdocvw=1
  53. ;***serialize preparser,parser,recalc,paint
  54. ;serialize=1
  55. ;***don't bg recalc
  56. ;nobgrecalc=1
  57. ;***don't calc lines
  58. ;norecalclines=1
  59. ;***don't render lines
  60. ;norenderlines=1
  61. ;***don't cache decoded images
  62. ;noimagecache=1
  63. ;***only profile this timer
  64. ;profiletimer=ComputeFormats
  65. ;***grab all records at once wrt databinding
  66. ;syncdatabind=1
  67. ; ***switches that only affect retail mode
  68. [retail]
  69. ; ***We have a subsystem called "switches" that end up timing
  70. ; certain actions and dumping them when running perf tests.
  71. ; complogs knows about these and will break them down into
  72. ; different tables;
  73. ;*** turn on this subsystem
  74. usetimers=1
  75. ;*** keep times for image decoding
  76. ;useimagetimer=1
  77. ;*** keep times for heap allocations --
  78. ; rebuild with TIMEHEAP set in src\core\cdutil\memutils.cxx
  79. ;useheaptimer=1
  80. ;***these switches are the same as the profile section
  81. ;shdocvw=1
  82. ;serialize=1
  83. ;nobgrecalc=1
  84. ;norecalclines=1
  85. ;norenderlines=1
  86. ;noimagecache=1
  87. ;syncdatabind=1
  88. ;***in x86 debug mode we will spew this DWORD onto the stack
  89. ; at the start of every function
  90. [chkstk]
  91. fill=0xBEDABEDA
  92. ;***heap fill values -- one byte only!
  93. [Memory]
  94. FillClean=0x9D
  95. FillDead=0xAD
  96. HeadGuard=0xBD
  97. FootGuard=0xCD
  98. ;***default dirs for the pad
  99. [PadDirs]
  100. FileDir=d:\html
  101. ScriptDir=d:\html
  102. ; *** if you are recording symbols for mem allocations, this restricts
  103. ; that intensive process to allocations of only this certain size.
  104. ; Won't work well with realloc...
  105. [SymbolLeakTrack]
  106. ;Size=312
  107. [P6Ctr]
  108. Ctr0=0xC0
  109. Ctr0Modes=*
  110. Ctr1=0xD0
  111. Ctr1Modes=*