Hello everybody,

        The attached patch implements reading the counter mentioned in the 
subject
when using a named instance (on Unix it's a process ID). Please review,

best,

marek
Index: mono/metadata/mono-perfcounters.c
===================================================================
--- mono/metadata/mono-perfcounters.c	(revision 110495)
+++ mono/metadata/mono-perfcounters.c	(working copy)
@@ -847,6 +847,13 @@
 			return TRUE;
 		}
 		break;
+
+	case CATEGORY_ASPNET:
+		switch (id) {
+		case COUNTER_ASPNET_REQ_Q:
+			sample->rawValue = vt->counters->aspnet_requests_queued;
+			return TRUE;
+		}
 	}
 	return FALSE;
 }
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to