ARGOBOTS  c6511494322293e01714f56f341b8d2b22c1e3c1
 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.


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)


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)

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 

Definition at line 189 of file basic_wait.c.

Referenced by sched_sort_pools().

static sched_data* sched_data_get_ptr ( void *  data)

Definition at line 40 of file basic_wait.c.

Referenced by sched_free(), and sched_run().

static int sched_free ( ABT_sched  sched)

Definition at line 152 of file basic_wait.c.

static int sched_init ( ABT_sched  sched,
ABT_sched_config  config 

Definition at line 45 of file basic_wait.c.

static void sched_run ( ABT_sched  sched)

Definition at line 89 of file basic_wait.c.

static void sched_sort_pools ( int  num_pools,
ABT_pool pools 

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
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.