Merge pull request #5198 from BrzVlad/fix-binprot-stats
[mono.git] / mono / metadata / profiler-private.h
index 45535bcf3d8aa7dc9d8334b704cbf5d47299184e..e087be07eb604fbfa0dc320637dfec8bd333998c 100644 (file)
@@ -49,7 +49,7 @@ typedef struct {
        MonoProfilerHandle sampling_owner;
        MonoSemType sampling_semaphore;
        MonoProfilerSampleMode sample_mode;
-       uint64_t sample_freq;
+       guint32 sample_freq;
        gboolean allocations;
 
 #define _MONO_PROFILER_EVENT(name) \
@@ -98,7 +98,8 @@ void mono_profiler_coverage_free (MonoMethod *method);
 gboolean mono_profiler_should_instrument_method (MonoMethod *method, gboolean entry);
 
 gboolean mono_profiler_sampling_enabled (void);
-void mono_profiler_sampling_thread_sleep (void);
+void mono_profiler_sampling_thread_post (void);
+void mono_profiler_sampling_thread_wait (void);
 
 static inline gboolean
 mono_profiler_allocations_enabled (void)