Skip to main content

set_task_profiler

Function set_task_profiler 

Source
pub fn set_task_profiler(
    update_running_task: UpdateRunningTaskFn,
    save_task_timing: SaveTaskTimingFn,
)
Expand description

Installs the framework’s task profiler hooks.

Only the first call takes effect. Until a profiler is installed, [update_running_task] and [save_task_timing] do nothing.