Don
Fri Feb 01 17:09:00 CST 2008
The impact is extremely low until you turn on tracing. Once you turn it on
it is dependant on the number of trace statements executed and the amount of
information a statement handles. One thing to consider is that the format
string of the trace call is not copied on a trace, this is built into a
lookup table, so Trace("Doing step 1\n") is extremely efficient but
Trace("%s", "Doing step 1\n") is not as efficient. Also, things like
numbers are kept as binary so are fairly efficient.
--
Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website:
http://www.windrvr.com
Blog:
http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply
"Angie" <kimojolin@yahoo.com> wrote in message
news:u7$yvRSZIHA.5164@TK2MSFTNGP03.phx.gbl...
>I plan to add the tracing capability to the driver using the WPP. According
>to Microsoft's document, the performance impact to the driver is very low.
> I would like to know if it is true or not from people here. If you have
> ever added this feature in your driver, can you feedback your opionions.
>
> Thanks.
>