[Mono-dev] Reading threadpool performance counters

Ludovic Henry ludovic at xamarin.com
Tue May 24 12:45:49 UTC 2016

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,

On Mon, May 23, 2016 at 11:59 PM Chris Swiedler <cswiedler at trionworlds.com>

> 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 at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20160524/96040663/attachment.html>

More information about the Mono-devel-list mailing list