ARGOBOTS  66b1c39742507d8df30e8d28c54839b961a14814
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions | Variables
config.c File Reference
#include "abti.h"
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
Include dependency graph for config.c:

Go to the source code of this file.

Functions

static size_t sched_config_type_size (ABT_sched_config_type type)
 
int ABT_sched_config_create (ABT_sched_config *config,...)
 Create a scheduler configuration. More...
 
int ABT_sched_config_read (ABT_sched_config config, int num_vars,...)
 Copy the set values from config into the variables passed in the dynamic list of arguments. More...
 
int ABT_sched_config_free (ABT_sched_config *config)
 Free the configuration. More...
 
ABTU_ret_err int ABTI_sched_config_read_global (ABT_sched_config config, ABT_pool_access *access, ABT_bool *automatic)
 
ABTU_ret_err int ABTI_sched_config_read (ABT_sched_config config, int type, int num_vars, void **variables)
 

Variables

ABT_sched_config_var ABT_sched_config_var_end
 
ABT_sched_config_var ABT_sched_config_access
 
ABT_sched_config_var ABT_sched_config_automatic
 

Function Documentation

ABTU_ret_err int ABTI_sched_config_read ( ABT_sched_config  config,
int  type,
int  num_vars,
void **  variables 
)

Definition at line 239 of file config.c.

Referenced by ABT_sched_config_read(), ABTI_sched_config_read_global(), and sched_init().

ABTU_ret_err int ABTI_sched_config_read_global ( ABT_sched_config  config,
ABT_pool_access access,
ABT_bool automatic 
)

Definition at line 209 of file config.c.

Referenced by ABTI_sched_create_basic().

static size_t sched_config_type_size ( ABT_sched_config_type  type)
inlinestatic

Definition at line 297 of file config.c.

Referenced by ABT_sched_config_create().

Variable Documentation

ABT_sched_config_var ABT_sched_config_access
Initial value:
= { .idx = -2,

Definition at line 23 of file config.c.

ABT_sched_config_var ABT_sched_config_automatic
Initial value:
= { .idx = -3,
.type =

Definition at line 26 of file config.c.

ABT_sched_config_var ABT_sched_config_var_end
Initial value:
= { .idx = -1,
.type =

Definition at line 19 of file config.c.