Total, Application, Kernel, Overhead, Other samples – what are they all about?!

VS Profiler usage in Sampling mode results in generation of VSP file. This file is, naturally, full of samples that were taken during your profiling session. You can get a Properties Window of this file by pressing F4 button: Today I would like to talk about all different Samples that are reported in General section…

2

Multiple profilers of managed code on the same machine. Why it is bad?

It may happen that when you try to attach Visual Studio profiler to a managed application, you get the following error: Error VSP1336 : Could not attach to process ID:1234 MyProcess.exe. Wrong setting of COR_PROFILER environment variable in target process.  Please use VSPerfClrEnv.cmd to set environment variables correctly. You follow the instructions precisely, use VSPerfClrEnv.cmd…

4

Why function callees sum up with more than 100% in Caller/Callee view?

We are asked this question sometimes, especially when customers profile real world UI applications. Since it may be really confusing, I’ve decided to post the explanation of this “phenomena”.   The Caller/Callee is one of views that are generated by Microsoft Visual Studio Team System 2005 during application profiling. The view is described in details…

3

Let me introduce myself

Hello,   I am Maxim Goldin, and I am a developer in Microsoft Visual Studio Team System 2005. More specifically – I spend all my working hours developing a profiler, which is a part of VSTS. I joined Microsoft in June 2003 after serving Intel Corporation in Israel for 8 years, and I am originally…

3