|
Yet Another eXchange Tool
0.9.0
|
implementation of configuration object More...
#include <string.h>#include <mpi.h>#include <xt/xt_config.h>#include "xt_config_internal.h"#include "xt_exchanger_irecv_send.h"#include "xt_exchanger_irecv_isend.h"#include "xt_exchanger_mix_isend_irecv.h"#include "xt_exchanger_irecv_isend_packed.h"#include "xt_exchanger_neigh_alltoall.h"#include "core/core.h"#include "core/ppm_xfuncs.h"Go to the source code of this file.
Enumerations | |
| enum | { num_exchanger = sizeof (exchanger_table) / sizeof (exchanger_table[0]) } |
Functions | |
| Xt_config | xt_config_new (void) |
| void | xt_config_delete (Xt_config config) |
| int | xt_exchanger_id_by_name (const char *name) |
| int | xt_config_get_exchange_method (Xt_config config) |
| void | xt_config_set_exchange_method (Xt_config config, int method) |
| void | xt_config_defaults_init (void) |
Variables | |
| struct Xt_config_ | xt_default_config |
| struct { | |
| char name [20] | |
| Xt_exchanger_new f | |
| int code | |
| } | exchanger_table [] |
implementation of configuration object
Definition in file xt_config.c.
| anonymous enum |
| Enumerator | |
|---|---|
| num_exchanger | |
Definition at line 98 of file xt_config.c.
| void xt_config_defaults_init | ( | void | ) |
Definition at line 140 of file xt_config.c.
| void xt_config_delete | ( | Xt_config | config | ) |
destructor of configuration objects
| [in,out] | config | configuration object to destroy |
Definition at line 76 of file xt_config.c.
| int xt_config_get_exchange_method | ( | Xt_config | config | ) |
get exchanger used when the config object is passed to constructors
| [in] | config | configuration object to modify |
Definition at line 111 of file xt_config.c.
| Xt_config xt_config_new | ( | void | ) |
constructor for configuration object
Definition at line 69 of file xt_config.c.
| void xt_config_set_exchange_method | ( | Xt_config | config, |
| int | method | ||
| ) |
set exchanger to use when the config object is passed to constructors
| [in,out] | config | configuration object to modify |
| method | an entry from enum Xt_exchangers to signify the desired exchanger for data transfers |
Definition at line 125 of file xt_config.c.
| int xt_exchanger_id_by_name | ( | const char * | name | ) |
map exchanger name string to method id from Xt_exchangers
| [in] | name | string that is supposed to match the part of the corresponding enum after xt_exchanger_ |
Definition at line 103 of file xt_config.c.
| int code |
Definition at line 84 of file xt_config.c.
| const { ... } exchanger_table[] |
Definition at line 83 of file xt_config.c.
| char name[20] |
Definition at line 82 of file xt_config.c.
| struct Xt_config_ xt_default_config |
Definition at line 1 of file xt_config.c.