Trait rtos_trace::RtosTrace
source · [−]pub trait RtosTrace {
Show 14 methods
fn task_new(id: u32);
fn task_send_info(id: u32, info: TaskInfo);
fn task_terminate(id: u32);
fn task_exec_begin(id: u32);
fn task_exec_end();
fn task_ready_begin(id: u32);
fn task_ready_end(id: u32);
fn system_idle();
fn isr_enter();
fn isr_exit();
fn isr_exit_to_scheduler();
fn marker(id: u32);
fn marker_begin(id: u32);
fn marker_end(id: u32);
}
Expand description
Collection of tracing functions which are called by the RTOS.
Required Methods
fn task_send_info(id: u32, info: TaskInfo)
fn task_send_info(id: u32, info: TaskInfo)
The task with id
has info
attributes.
fn task_terminate(id: u32)
fn task_terminate(id: u32)
The task with id
has been terminated.
fn task_exec_begin(id: u32)
fn task_exec_begin(id: u32)
The task with id
will start to run on the CPU now.
fn task_exec_end()
fn task_exec_end()
Execution of the current task has ended.
fn task_ready_begin(id: u32)
fn task_ready_begin(id: u32)
The task with id
is ready to run.
fn task_ready_end(id: u32)
fn task_ready_end(id: u32)
The task with id
is being blocked/suspended.
fn system_idle()
fn system_idle()
The RTOS enters idle mode.
Exit an ISR to the scheduler.
fn marker_begin(id: u32)
fn marker_begin(id: u32)
Begin event of marker with id
.
fn marker_end(id: u32)
fn marker_end(id: u32)
End event of marker with id
.