Closed GoogleCodeExporter closed 9 years ago
I've looked into how to get the ThreadState from inside the profiler, but it
appears
there's no easy way to do so. The closest I found was this:
http://social.msdn.microsoft.com/Forums/en-US/netfxtoolsdev/thread/55f3bfc6-ae37
-
4f7d-b7f8-899d9c4c44bc
Original comment by kavanpro...@gmail.com
on 1 Mar 2010 at 3:51
Yeah, it's a bit complicated to do. I'll have to see if I can put the callbacks
to
good use.
Original comment by promit....@gmail.com
on 1 Mar 2010 at 6:10
I've added experimental support for these callbacks and tracking thread
state...but honestly, I haven't actually seen the callback get hit yet. Sooo
yeah, I'm not too sure what to do yet.
Original comment by promit....@gmail.com
on 2 Jul 2010 at 6:45
Oh, I'm also not able to repro your timings; I get pretty close to 50/50
between the two threads.
Original comment by promit....@gmail.com
on 2 Jul 2010 at 6:47
This has been 'fixed' by the new weighted sampling mode, which biases samples
by executed thread cycles. It isn't quite the same but accomplishes nearly the
same goal.
Original comment by promit....@gmail.com
on 23 Feb 2011 at 12:17
Original issue reported on code.google.com by
kavanpro...@gmail.com
on 27 Feb 2010 at 10:06