.net - Could profiler be missing time spent on blocked call? -
i'm profiling app using visual studio 2013 profiler, using sampling mode. app makes blocking call remote process using .net remoting. call waits long time response. example, in 30 second interval may spend 10 seconds waiting response. i'd expect show hot spot, because call remote process present on stack many samples. but, doesn't. time spent in calling method comes negligible. there explanation?
in sampling mode, profiler not sample when thread blocked. therefore blind i/o, if takes 99.9% of time. (they call "cpu sampling", trying make sound feature.)
in instrumenting mode works timers rather samples, includes blocked time, gives function-level resolution.
the second answer this question lays out of these issues.
Comments
Post a Comment