PULSAR  1.0.0
Parallel Ultra Light Systolic Array Runtime
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
prt_config.h
Go to the documentation of this file.
1 
11 #ifndef PRT_CONFIG_H
12 #define PRT_CONFIG_H
13 
14 #include "prt.h"
15 
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19 
23 typedef enum prt_config_param_e {
27 
31 typedef enum prt_config_value_e {
32  PRT_VDP_SCHEDULING_AGGRESSIVE, // Run each VDP as long as possible.
33  PRT_VDP_SCHEDULING_LAZY, // Fire each VDP once and move on.
34  PRT_SVG_TRACING_ON, // produce an SVG trace file
35  PRT_SVG_TRACING_OFF // skip the SVG trace file
37 
41 typedef struct prt_config_s {
42  int vdp_scheduling; // VDP scheduling mode
43  int svg_tracing; // SVG tracing on/off
44 } prt_config_t;
45 
47 void prt_config_delete(prt_config_t *config);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* PRT_CONFIG_H */
enum prt_config_param_e prt_config_param_t
PRT configuration parameters.
struct prt_config_s prt_config_t
PRT configuration.
PRT configuration.
Definition: prt_config.h:41
int svg_tracing
Definition: prt_config.h:43
void prt_config_delete(prt_config_t *config)
config object destructor
Definition: prt_config.c:39
prt_config_param_e
PRT configuration parameters.
Definition: prt_config.h:23
enum prt_config_value_e prt_config_value_t
values of PRT configuration parameters
prt_config_t * prt_config_new()
config object constructor
Definition: prt_config.c:19
prt_config_value_e
values of PRT configuration parameters
Definition: prt_config.h:31
int vdp_scheduling
Definition: prt_config.h:42