Hello everyone,
Are there any comments in Windbg which could calculate the elapsed time for each call stack for a function call? If this command could cover both managed code and native code, it is fine, but only covers native code, it is also fine.
thanks in advance,
George
You can use /Gh and /GH to create functions at the entry and exit of
functions, and then roll your own timer code. Note: this will truly be
elapsed, not actual time.
–
Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
“Lin George” wrote in message
news:xxxxx@windbg…
> Hello everyone,
>
> Are there any comments in Windbg which could calculate the elapsed time
> for each call stack for a function call? If this command could cover both
> managed code and native code, it is fine, but only covers native code, it
> is also fine.
>
> thanks in advance,
> George
>
>
>
>
Lin,
For *managed code* you can use *Performance Explorer* which comes with Visual Studio 2005 and later. This tool will profile CPU and memory usage. To use it go Analyze -> Launch Performance Wizard in Visual Studio 2008. I don?t know exactly wich Visual Studio edition has this functionality.
The following blog posts can help you.
http://blogs.msdn.com/ianhu/archive/2005/02/07/368779.aspx
http://blogs.msdn.com/ianhu/archive/2005/02/11/371418.aspx
http://blogs.msdn.com/ianhu/archive/2005/02/21/377384.aspx
-George
-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Lin George
Sent: ter?a-feira, 20 de janeiro de 2009 12:12
To: Kernel Debugging Interest List
Subject: [windbg] calculate elapsed time for each stack
Hello everyone,
Are there any comments in Windbg which could calculate the elapsed time for each call stack for a function call? If this command could cover both managed code and native code, it is fine, but only covers native code, it is also fine.
thanks in advance,
George
You are currently subscribed to windbg as: xxxxx@integral.inf.br
To unsubscribe send a blank email to xxxxx@lists.osr.com