Merge pull request #4540 from kumpera/android-changes-part1
[mono.git] / mono / metadata / mono-perfcounters-def.h
index 23b9fdaccd71643ec9a3e522d8e62e9e0cc13a73..c72b708532af58969d727a03353bda785727f477 100644 (file)
@@ -1,4 +1,5 @@
-/*
+/**
+ * \file
  * Define the system and runtime performance counters.
  * Each category is defined with the macro:
  *     PERFCTR_CAT(catid, name, help, type, instances, first_counter_id)
@@ -27,6 +28,8 @@ PERFCTR_COUNTER(PROC_PBYTES,    "Private Bytes", "", NumberOfItems64, unused)
 /* sample runtime counter */
 PERFCTR_CAT(MONO_MEM, "Mono Memory", "", SingleInstance, Mono, MEM_NUM_OBJECTS)
 PERFCTR_COUNTER(MEM_NUM_OBJECTS, "Allocated Objects", "", NumberOfItems64, unused)
+PERFCTR_COUNTER(MEM_PHYS_TOTAL, "Total Physical Memory", "Physical memory installed in the machine, in bytes", NumberOfItems64, unused)
+PERFCTR_COUNTER(MEM_PHYS_AVAILABLE, "Available Physical Memory", "Physical memory available in the machine, in bytes", NumberOfItems64, unused)
 
 PERFCTR_CAT(ASPNET, "ASP.NET", "", MultiInstance, Mono, ASPNET_REQ_Q)
 PERFCTR_COUNTER(ASPNET_REQ_Q, "Requests Queued", "", NumberOfItems64, aspnet_requests_queued)