MonoObject* mono_get_dbnull_object (MonoDomain *domain);
MonoArray* mono_reflection_get_custom_attrs (MonoObject *obj);
-MonoArray* mono_reflection_get_custom_attrs_by_type (MonoObject *obj, MonoClass *attr_klass);
MonoArray* mono_reflection_get_custom_attrs_data (MonoObject *obj);
MonoArray* mono_reflection_get_custom_attrs_blob (MonoReflectionAssembly *assembly, MonoObject *ctor, MonoArray *ctorArgs, MonoArray *properties, MonoArray *porpValues, MonoArray *fields, MonoArray* fieldValues);
MonoCustomAttrInfo* mono_reflection_get_custom_attrs_info (MonoObject *obj);
MonoArray* mono_custom_attrs_construct (MonoCustomAttrInfo *cinfo);
MonoArray* mono_custom_attrs_construct_by_type (MonoCustomAttrInfo *cinfo, MonoClass *attr_klass);
-MonoArray* mono_custom_attrs_data_construct (MonoCustomAttrInfo *cinfo);
MonoCustomAttrInfo* mono_custom_attrs_from_index (MonoImage *image, guint32 idx);
MonoCustomAttrInfo* mono_custom_attrs_from_method (MonoMethod *method);
MonoCustomAttrInfo* mono_custom_attrs_from_class (MonoClass *klass);
static MonoCounter *counters = NULL;
static int valid_mask = 0;
+/**
+ * mono_counters_enable:
+ * @section_mask: a mask listing the sections that will be displayed
+ *
+ * This is used to track which counters will be displayed.
+ */
void
mono_counters_enable (int section_mask)
{
valid_mask = section_mask & MONO_COUNTER_SECTION_MASK;
}
+/**
+ * mono_counters_register:
+ * @name: The name for this counters.
+ * @type: One of the possible MONO_COUNTER types, or MONO_COUNTER_CALLBACK for a function pointer.
+ * @addr: The address to register.
+ *
+ * Register addr as the address of a counter of type type.
+ *
+ * It may be a function pointer if MONO_COUNTER_CALLBACK is specified:
+ * the function should return the value and take no arguments.
+ */
void
mono_counters_register (const char* name, int type, void *addr)
{
}
}
+/**
+ * mono_counters_dump:
+ * @section_mask: The sections to dump counters for
+ * @outfile: a FILE to dump the results to
+ *
+ * Displays the counts of all the enabled counters registered.
+ */
void
mono_counters_dump (int section_mask, FILE *outfile)
{