[Mono-dev] Reading threadpool performance counters
cswiedler at trionworlds.com
Tue May 24 16:29:30 UTC 2016
Thanks, Ludovic. I’ve created https://bugzilla.xamarin.com/show_bug.cgi?id=41294 with sample code. I’ve also verified that it works as expected with mono 3.12, so it sounds like your explanation is correct.
From: Ludovic Henry [mailto:ludovic at xamarin.com]
Sent: Tuesday, May 24, 2016 5:46 AM
To: Chris Swiedler <cswiedler at trionworlds.com>; mono-devel-list <mono-devel-list at lists.ximian.com>
Subject: Re: [Mono-dev] Reading threadpool performance counters
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<mailto:cswiedler at 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.
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com<mailto:Mono-devel-list at lists.ximian.com>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list