ARGOBOTS
Functions | Variables
basic_wait.c File Reference
#include "abti.h"
Include dependency graph for basic_wait.c:

Go to the source code of this file.

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)
 
static sched_data * sched_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_wait_def
 
ABT_sched_config_var ABT_sched_basic_wait_freq
 

Function Documentation

static int pool_get_access_num ( ABT_pool p_pool)
static

Definition at line 162 of file basic_wait.c.

Referenced by sched_cmp_pools().

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

Definition at line 188 of file basic_wait.c.

Referenced by sched_sort_pools().

static sched_data* sched_data_get_ptr ( void *  data)
inlinestatic

Definition at line 40 of file basic_wait.c.

Referenced by sched_free(), and sched_run().

static int sched_free ( ABT_sched  sched)
static

Definition at line 151 of file basic_wait.c.

static int sched_init ( ABT_sched  sched,
ABT_sched_config  config 
)
static

Definition at line 45 of file basic_wait.c.

static void sched_run ( ABT_sched  sched)
static

Definition at line 83 of file basic_wait.c.

static void sched_sort_pools ( int  num_pools,
ABT_pool pools 
)
static

Definition at line 204 of file basic_wait.c.

Referenced by sched_init().

Variable Documentation

ABT_sched_config_var ABT_sched_basic_wait_freq
Initial value:
= { .idx = 0,
.type =

Definition at line 31 of file basic_wait.c.

ABT_sched_def sched_basic_wait_def
static
Initial value:
= {
.init = sched_init,
.run = sched_run,
.free = sched_free,
.get_migr_pool = NULL,
}
static int sched_init(ABT_sched sched, ABT_sched_config config)
Definition: basic_wait.c:45
static int sched_free(ABT_sched)
Definition: basic_wait.c:151
static void sched_run(ABT_sched sched)
Definition: basic_wait.c:83

Definition at line 17 of file basic_wait.c.