Hi Chris, I don't think we are keeping this counters up to date in the threadpool. Some of them are kept up to date, but as we imported the threadpool implementation from referencesources since 4.2, we must have missed this performance counter. So you are certainly not doing something wrong.
If you want, you should fill a bug with the information you have so we have a look at it as soon as possible. Thank you very much, Ludovic On Mon, May 23, 2016 at 11:59 PM Chris Swiedler <cswied...@trionworlds.com> wrote: > Per https://bugzilla.xamarin.com/show_bug.cgi?id=1772 I've been trying to > get Mono threadpool metrics with lines like this: > > m_workItemsAdded = new PerformanceCounter("Mono Threadpool", "Work > Items Added", Process.GetCurrentProcess().Id.ToString()); > > However, the counter I get back always has its value set to zero. Are > these threadpool counters still supported? Am I doing something wrong? This > is using mono 4.2.3. > > Thanks, > chris > _______________________________________________ > Mono-devel-list mailing list > Mono-devel-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-devel-list >
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list