RTEMS
Classes | Functions | Variables
t-test-thread-switch.c File Reference

Implementation of T_thread_switch_record(). More...

#include <rtems/test.h>
#include <rtems.h>
#include <rtems/score/percpu.h>
#include <rtems/score/smp.h>
#include <rtems/score/thread.h>
#include <rtems/score/userextimpl.h>

Go to the source code of this file.

Classes

struct  T_thread_switch_context
 

Functions

static void T_thread_switch_recorder (Thread_Control *, Thread_Control *)
 
static void T_thread_switch_destroy (T_destructor *dtor)
 
T_thread_switch_logT_thread_switch_record (T_thread_switch_log *log)
 
T_thread_switch_logT_thread_switch_record_2 (T_thread_switch_log_2 *log)
 
T_thread_switch_logT_thread_switch_record_4 (T_thread_switch_log_4 *log)
 
T_thread_switch_logT_thread_switch_record_10 (T_thread_switch_log_10 *log)
 

Variables

static T_thread_switch_context T_thread_switch_instance
 

Detailed Description

Implementation of T_thread_switch_record().

Definition in file t-test-thread-switch.c.

Variable Documentation

◆ T_thread_switch_instance

T_thread_switch_context T_thread_switch_instance
static
Initial value:
= {
.lock = RTEMS_INTERRUPT_LOCK_INITIALIZER("Test Thread Switches"),
.ext = {
.Callouts = {
.thread_switch = T_thread_switch_recorder
}
}
}
#define RTEMS_INTERRUPT_LOCK_INITIALIZER(_name)
%
Definition: intr.h:355

Definition at line 57 of file t-test-thread-switch.c.