VSF Documented
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
sched.h File Reference
#include "shell/sys/linux/vsf_linux_cfg.h"
#include "kernel/vsf_kernel.h"
#include "./sys/types.h"

Go to the source code of this file.

Data Structures

struct  sched_param
 
struct  vsf_linux_sched_vplt_t
 

Macros

#define sched_get_priority_max   VSF_LINUX_WRAPPER(sched_get_priority_max)
 
#define sched_get_priority_min   VSF_LINUX_WRAPPER(sched_get_priority_min)
 
#define sched_getparam   VSF_LINUX_WRAPPER(sched_getparam)
 
#define sched_getscheduler   VSF_LINUX_WRAPPER(sched_getscheduler)
 
#define sched_setparam   VSF_LINUX_WRAPPER(sched_setparam)
 
#define sched_yield   VSF_LINUX_WRAPPER(sched_yield)
 

Typedefs

typedef struct vsf_linux_sched_vplt_t vsf_linux_sched_vplt_t
 

Enumerations

enum  {
  SCHED_OTHER ,
  SCHED_BATCH ,
  SCHED_IDLE ,
  SCHED_FIFO ,
  SCHED_RR
}
 

Functions

int sched_get_priority_max (int policy)
 
int sched_get_priority_min (int policy)
 
int sched_getparam (pid_t pid, struct sched_param *param)
 
int sched_getscheduler (pid_t pid)
 
int sched_setparam (pid_t pid, const struct sched_param *param)
 
int sched_setscheduler (pid_t pid, int policy, const struct sched_param *param)
 

Variables

__VSF_VPLT_DECORATOR__ vsf_linux_sched_vplt_t vsf_linux_sched_vplt
 

Macro Definition Documentation

◆ sched_get_priority_max

#define sched_get_priority_max   VSF_LINUX_WRAPPER(sched_get_priority_max)

◆ sched_get_priority_min

#define sched_get_priority_min   VSF_LINUX_WRAPPER(sched_get_priority_min)

◆ sched_getparam

#define sched_getparam   VSF_LINUX_WRAPPER(sched_getparam)

◆ sched_getscheduler

#define sched_getscheduler   VSF_LINUX_WRAPPER(sched_getscheduler)

◆ sched_setparam

#define sched_setparam   VSF_LINUX_WRAPPER(sched_setparam)

◆ sched_yield

int sched_yield   VSF_LINUX_WRAPPER(sched_yield)

Typedef Documentation

◆ vsf_linux_sched_vplt_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
SCHED_OTHER 
SCHED_BATCH 
SCHED_IDLE 
SCHED_FIFO 
SCHED_RR 

Function Documentation

◆ sched_get_priority_max()

int sched_get_priority_max ( int  policy)

◆ sched_get_priority_min()

int sched_get_priority_min ( int  policy)

◆ sched_getparam()

int sched_getparam ( pid_t  pid,
struct sched_param param 
)

◆ sched_getscheduler()

int sched_getscheduler ( pid_t  pid)

◆ sched_setparam()

int sched_setparam ( pid_t  pid,
const struct sched_param param 
)

◆ sched_setscheduler()

int sched_setscheduler ( pid_t  pid,
int  policy,
const struct sched_param param 
)

Variable Documentation

◆ vsf_linux_sched_vplt

__VSF_VPLT_DECORATOR__ vsf_linux_sched_vplt_t vsf_linux_sched_vplt
extern