[][src]Function dart_sys::Dart_ThreadDisableProfiling

pub unsafe extern "C" fn Dart_ThreadDisableProfiling()

Notifies the VM that the current thread should not be profiled until a matching call to Dart_ThreadEnableProfiling is made.

NOTE: By default, if a thread has entered an isolate it will be profiled. This function should be used when an embedder knows a thread is about to make a blocking call and wants to avoid unnecessary interrupts by the profiler.