ARGOBOTS  be805649b56a69fc4df1b6bc4efbc8911b854459
Data Structures | Functions | Variables
basic.c File Reference
#include "abti.h"
Include dependency graph for basic.c:

Go to the source code of this file.

Data Structures

struct  sched_data
 

Functions

static int sched_init (ABT_sched sched, ABT_sched_config config)
 
static void sched_run (ABT_sched sched)
 
static int sched_free (ABT_sched)
 
static void sched_sort_pools (int num_pools, ABT_pool *pools)
 
ABT_sched_defABTI_sched_get_basic_def (void)
 
static sched_datasched_data_get_ptr (void *data)
 
static int pool_get_access_num (ABT_pool *p_pool)
 
static int sched_cmp_pools (const void *p1, const void *p2)
 

Variables

static ABT_sched_def sched_basic_def
 

Function Documentation

◆ ABTI_sched_get_basic_def()

ABT_sched_def* ABTI_sched_get_basic_def ( void  )

Definition at line 30 of file basic.c.

Referenced by ABTI_sched_create_basic(), and ABTI_sched_print().

◆ pool_get_access_num()

static int pool_get_access_num ( ABT_pool p_pool)
static

Definition at line 147 of file basic.c.

Referenced by sched_cmp_pools().

◆ sched_cmp_pools()

static int sched_cmp_pools ( const void *  p1,
const void *  p2 
)
static

Definition at line 173 of file basic.c.

Referenced by sched_sort_pools().

◆ sched_data_get_ptr()

static sched_data* sched_data_get_ptr ( void *  data)
inlinestatic

Definition at line 35 of file basic.c.

Referenced by sched_free(), and sched_run().

◆ sched_free()

static int sched_free ( ABT_sched  sched)
static

Definition at line 136 of file basic.c.

◆ sched_init()

static int sched_init ( ABT_sched  sched,
ABT_sched_config  config 
)
static

Definition at line 40 of file basic.c.

◆ sched_run()

static void sched_run ( ABT_sched  sched)
static

Definition at line 93 of file basic.c.

◆ sched_sort_pools()

static void sched_sort_pools ( int  num_pools,
ABT_pool pools 
)
static

Definition at line 189 of file basic.c.

Referenced by sched_init().

Variable Documentation

◆ sched_basic_def

ABT_sched_def sched_basic_def
static
Initial value:
= {
.init = sched_init,
.run = sched_run,
.free = sched_free,
.get_migr_pool = NULL,
}

Definition at line 13 of file basic.c.

Referenced by ABTI_sched_get_basic_def().

sched_init
static int sched_init(ABT_sched sched, ABT_sched_config config)
Definition: basic.c:40
ABT_SCHED_TYPE_ULT
@ ABT_SCHED_TYPE_ULT
Definition: abt.h:502
sched_free
static int sched_free(ABT_sched)
Definition: basic.c:136
sched_run
static void sched_run(ABT_sched sched)
Definition: basic.c:93