ARGOBOTS  29b0d4cc91ca184a8278ddf690fd0bcb2119000e
 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.


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_def
ABT_sched_config_var ABT_sched_basic_freq

Function Documentation

static int pool_get_access_num ( ABT_pool p_pool)

Definition at line 148 of file basic.c.

Referenced by sched_cmp_pools().

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

Definition at line 174 of file basic.c.

Referenced by sched_sort_pools().

static sched_data* sched_data_get_ptr ( void *  data)

Definition at line 42 of file basic.c.

Referenced by sched_free(), and sched_run().

static int sched_free ( ABT_sched  sched)

Definition at line 137 of file basic.c.

static int sched_init ( ABT_sched  sched,
ABT_sched_config  config 

Definition at line 47 of file basic.c.

static void sched_run ( ABT_sched  sched)

Definition at line 95 of file basic.c.

static void sched_sort_pools ( int  num_pools,
ABT_pool pools 

Definition at line 190 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
Initial value:
= {
.init = sched_init,
.run = sched_run,
.free = sched_free,
.get_migr_pool = NULL,
static int sched_free(ABT_sched)
Definition: basic.c:137
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:95

Definition at line 17 of file basic.c.