k_thread_runtime_stats_longest_frame_reset

Function k_thread_runtime_stats_longest_frame_reset 

Source
pub unsafe extern "C" fn k_thread_runtime_stats_longest_frame_reset(
    thread: *mut k_thread,
)
Expand description

@brief Resets thread longest frame usage data for specified thread

This routine resets the longest frame value statistic after printing to zero, enabling observation of the longest frame from the most recent interval rather than the longest frame since startup.

@param thread Pointer to the thread to reset counter.

@note @kconfig{CONFIG_THREAD_ANALYZER_LONG_FRAME_PER_INTERVAL} must be set for this function to be effective.