ARGOBOTS  66b1c39742507d8df30e8d28c54839b961a14814
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
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 163 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 189 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 152 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 89 of file basic_wait.c.

static void sched_sort_pools ( int  num_pools,
ABT_pool pools 
)
static

Definition at line 205 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:152
static void sched_run(ABT_sched sched)
Definition: basic_wait.c:89

Definition at line 17 of file basic_wait.c.