[][src]Function dart_sys::Dart_WriteProfileToTimeline

pub unsafe extern "C" fn Dart_WriteProfileToTimeline(
    main_port: Dart_Port,
    error: *mut *mut c_char
) -> bool

Writes the CPU profile to the timeline as a series of 'instant' events.

Note that this is an expensive operation.

\param main_port The main port of the Isolate whose profile samples to write. \param error An optional error, must be free()ed by caller.

\return Returns true if the profile is successfully written and false otherwise.