RTEMS 6.1-rc4
Loading...
Searching...
No Matches
Data Structures | Functions | Variables
t-test-scheduler.c File Reference

This source file contains the implementation of the scheduler test support API. More...

#include <rtems/test-scheduler.h>
#include <rtems.h>
#include <rtems/score/percpu.h>
#include <rtems/score/schedulerimpl.h>

Data Structures

struct  T_scheduler_context
 

Functions

void T_scheduler_set_event_handler (T_scheduler_event_handler handler, void *arg)
 
T_scheduler_logT_scheduler_record (T_scheduler_log *log)
 
T_scheduler_logT_scheduler_record_2 (T_scheduler_log_2 *log)
 
T_scheduler_logT_scheduler_record_4 (T_scheduler_log_4 *log)
 
T_scheduler_logT_scheduler_record_10 (T_scheduler_log_10 *log)
 
T_scheduler_logT_scheduler_record_20 (T_scheduler_log_20 *log)
 
T_scheduler_logT_scheduler_record_40 (T_scheduler_log_40 *log)
 
const T_scheduler_eventT_scheduler_next (T_scheduler_header *header, T_scheduler_operation operation, size_t *index)
 
const T_scheduler_eventT_scheduler_next_any (T_scheduler_header *header, size_t *index)
 
void T_scheduler_initialize (const Scheduler_Control *scheduler)
 
void T_scheduler_schedule (const Scheduler_Control *scheduler, Thread_Control *thread)
 
void T_scheduler_yield (const Scheduler_Control *scheduler, Thread_Control *thread, Scheduler_Node *node)
 
void T_scheduler_block (const Scheduler_Control *scheduler, Thread_Control *thread, Scheduler_Node *node)
 
void T_scheduler_unblock (const Scheduler_Control *scheduler, Thread_Control *thread, Scheduler_Node *node)
 
void T_scheduler_update_priority (const Scheduler_Control *scheduler, Thread_Control *thread, Scheduler_Node *node)
 
Priority_Control T_scheduler_map_priority (const Scheduler_Control *scheduler, Priority_Control priority)
 
Priority_Control T_scheduler_unmap_priority (const Scheduler_Control *scheduler, Priority_Control priority)
 
void T_scheduler_node_initialize (const Scheduler_Control *scheduler, Scheduler_Node *node, Thread_Control *thread, Priority_Control priority)
 
void T_scheduler_node_destroy (const Scheduler_Control *scheduler, Scheduler_Node *node)
 
void T_scheduler_release_job (const Scheduler_Control *scheduler, Thread_Control *thread, Priority_Node *priority, uint64_t deadline, Thread_queue_Context *queue_context)
 
void T_scheduler_cancel_job (const Scheduler_Control *scheduler, Thread_Control *thread, Priority_Node *priority, Thread_queue_Context *queue_context)
 
void T_scheduler_start_idle (const Scheduler_Control *scheduler, Thread_Control *thread, Per_CPU_Control *cpu)
 

Variables

const T_scheduler_event T_scheduler_event_null
 

Detailed Description

This source file contains the implementation of the scheduler test support API.