ARGOBOTS  1227c643f7a7f974f1f1778a9ffebd29d7dafecf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Functions | Variables
basic.c File Reference
#include "abti.h"
Include dependency graph for basic.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_def
 
ABT_sched_config_var ABT_sched_basic_freq
 

Function Documentation

static int pool_get_access_num ( ABT_pool p_pool)
static

Definition at line 154 of file basic.c.

Referenced by sched_cmp_pools().

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

Definition at line 180 of file basic.c.

Referenced by sched_sort_pools().

static sched_data* sched_data_get_ptr ( void *  data)
inlinestatic

Definition at line 42 of file basic.c.

Referenced by sched_free(), and sched_run().

static int sched_free ( ABT_sched  sched)
static

Definition at line 143 of file basic.c.

static int sched_init ( ABT_sched  sched,
ABT_sched_config  config 
)
static

Definition at line 47 of file basic.c.

static void sched_run ( ABT_sched  sched)
static

Definition at line 101 of file basic.c.

static void sched_sort_pools ( int  num_pools,
ABT_pool pools 
)
static

Definition at line 196 of file basic.c.

Referenced by sched_init().

Variable Documentation

ABT_sched_config_var ABT_sched_basic_freq
Initial value:
= { .idx = 0,

Definition at line 34 of file basic.c.

ABT_sched_def sched_basic_def
static
Initial value:
= {
.init = sched_init,
.run = sched_run,
.free = sched_free,
.get_migr_pool = NULL,
}
static int sched_free(ABT_sched)
Definition: basic.c:143
static int sched_init(ABT_sched sched, ABT_sched_config config)
Definition: basic.c:47
static void sched_run(ABT_sched sched)
Definition: basic.c:101

Definition at line 17 of file basic.c.