Line 130... |
Line 130... |
char mprof_fn[STR_SIZE]; /* Memory profiler filename */
|
char mprof_fn[STR_SIZE]; /* Memory profiler filename */
|
|
|
int history; /* instruction stream history analysis */
|
int history; /* instruction stream history analysis */
|
int exe_log; /* Print out RTL states? */
|
int exe_log; /* Print out RTL states? */
|
int exe_log_type; /* Type of log */
|
int exe_log_type; /* Type of log */
|
int exe_log_start; /* First instruction to log */
|
long long int exe_log_start; /* First instruction to log */
|
int exe_log_end; /* Last instruction to log, -1 if continuous */
|
long long int exe_log_end; /* Last instruction to log, -1 if continuous */
|
int exe_log_marker; /* If nonzero, place markers before each exe_log_marker instructions */
|
int exe_log_marker; /* If nonzero, place markers before each exe_log_marker instructions */
|
char exe_log_fn[STR_SIZE]; /* RTL state comparison filename */
|
char exe_log_fn[STR_SIZE]; /* RTL state comparison filename */
|
char fstdout[STR_SIZE]; /* stdout filename */
|
char fstdout[STR_SIZE]; /* stdout filename */
|
long clkcycle_ps; /* Clock duration in ps */
|
long clkcycle_ps; /* Clock duration in ps */
|
long system_kfreq; /* System frequency in kHz*/
|
long system_kfreq; /* System frequency in kHz*/
|
Line 263... |
Line 263... |
void reg_sim_stat(void (*stat_func)(void *dat), void *dat);
|
void reg_sim_stat(void (*stat_func)(void *dat), void *dat);
|
|
|
union param_val {
|
union param_val {
|
char *str_val;
|
char *str_val;
|
int int_val;
|
int int_val;
|
|
long long int longlong_val;
|
oraddr_t addr_val;
|
oraddr_t addr_val;
|
};
|
};
|
|
|
enum param_t {
|
enum param_t {
|
paramt_none = 0, /* No parameter */
|
paramt_none = 0, /* No parameter */
|
paramt_str, /* String parameter enclosed in double quotes (") */
|
paramt_str, /* String parameter enclosed in double quotes (") */
|
paramt_word, /* String parameter NOT enclosed in double quotes */
|
paramt_word, /* String parameter NOT enclosed in double quotes */
|
paramt_int, /* Integer parameter */
|
paramt_int, /* Integer parameter */
|
|
paramt_longlong, /* Long long int parameter */
|
paramt_addr /* Address parameter */
|
paramt_addr /* Address parameter */
|
};
|
};
|
|
|
struct config_section {
|
struct config_section {
|
char *name;
|
char *name;
|