JoelFan
JoelFan

Reputation: 38714

how to see wall clock time in visual studio profiler

The Visual Studio Profiler can show me the methods where a high amount of CPU time is spent, but suppose there is some database (or other I/O) operation that is the bottleneck. I would like to see what method is taking the longest amount of wall clock time. How can I see that?

Upvotes: 12

Views: 2194

Answers (2)

Slava
Slava

Reputation: 3505

Maybe .Net Async checkbox in profile tool can help

Upvotes: 0

Andrey Kriachko
Andrey Kriachko

Reputation: 709

Currently CPU Usage Tool in Visual Studio does not provide elapsed time information. To get elapsed time you can use Performance Wizard: invoke Debug > Start Diagnostic Tools Without Debugging > Performance Wizard > Start and choose Instrumentation as a profiling method. You will get Elapsed Exclusive Time and Elapsed Inclusive Time data in profiler views.

Upvotes: 7

Related Questions