[Mono-dev] Reading threadpool performance counters

Chris Swiedler cswiedler at trionworlds.com
Mon May 23 21:53:20 UTC 2016

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.


More information about the Mono-devel-list mailing list