Update tests exclusion
[mono-project.git] / mono / metadata / mono-perfcounters.h
blobeaa47d83441d3db6046c8f8606256e2a20e7401e
1 /**
2 * \file
3 */
5 #ifndef __MONO_PERFCOUNTERS_H__
6 #define __MONO_PERFCOUNTERS_H__
8 #include <glib.h>
9 #include <mono/metadata/object.h>
10 #include <mono/utils/mono-compiler.h>
11 #include <mono/metadata/icalls.h>
13 typedef struct _MonoCounterSample MonoCounterSample;
15 ICALL_EXPORT
16 MonoBoolean mono_perfcounter_get_sample (void *impl, MonoBoolean only_value, MonoCounterSample *sample);
18 ICALL_EXPORT
19 gint64 mono_perfcounter_update_value (void *impl, MonoBoolean do_incr, gint64 value);
21 ICALL_EXPORT
22 void mono_perfcounter_free_data (void *impl);
24 typedef gboolean (*PerfCounterEnumCallback) (char *category_name, char *name, unsigned char type, gint64 value, gpointer user_data);
25 MONO_API void mono_perfcounter_foreach (PerfCounterEnumCallback cb, gpointer user_data);
27 #endif /* __MONO_PERFCOUNTERS_H__ */