EnableThreadProfiling method

int EnableThreadProfiling(
  1. Pointer<Void> ThreadHandle,
  2. int Flags,
  3. int HardwareCounters,
  4. Pointer<Pointer<Void>> PerformanceDataHandle,
)

Implementation

int EnableThreadProfiling(
  ffi.Pointer<ffi.Void> ThreadHandle,
  int Flags,
  int HardwareCounters,
  ffi.Pointer<ffi.Pointer<ffi.Void>> PerformanceDataHandle,
) {
  return (_EnableThreadProfiling ??= _dylib.lookupFunction<
      _c_EnableThreadProfiling,
      _dart_EnableThreadProfiling>('EnableThreadProfiling'))(
    ThreadHandle,
    Flags,
    HardwareCounters,
    PerformanceDataHandle,
  );
}