ESDM
Middleware for Earth System Data
esdm-pmem.h
1 /* This file is part of ESDM.
2  *
3  * This program is free software: you can redistribute it and/or modify
4  * it under the terms of the GNU Lesser General Public License as published by
5  * the Free Software Foundation, either version 3 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU Lesser General Public License
14  * along with ESDM. If not, see <http://www.gnu.org/licenses/>.
15  */
16 #ifndef ESDM_BACKENDS_PMEM_H
17 #define ESDM_BACKENDS_PMEM_H
18 
19 #include <esdm-internal.h>
20 
21 #include <backends-data/generic-perf-model/lat-thr.h>
22 
23 typedef struct {
24  esdm_config_backend_t *config;
25  const char *target;
26  esdm_perf_model_lat_thp_t perf_model;
28 
29 /*
30 A module specification in the configuration file:
31 {
32 
33  "type": "KDSA",
34  "id": "p1",
35  "target": "This is the XPD connection string",
36  "max-threads-per-node" : 0,
37  "max-fragment-size" : 1048,
38  "accessibility" : "global"
39 }
40 */
41 
42 esdm_backend_t *pmem_backend_init(esdm_config_backend_t *config);
43 
44 #endif
Internal ESDM functionality, not to be used by backends and plugins.
Definition: esdm-datatypes-internal.h:197
Definition: esdm-datatypes-internal.h:252
Definition: lat-thr.h:22
Definition: esdm-pmem.h:23