Procesor Configuration

Name

Procesor Configuration -- Internal configuration.

Synopsis


struct      cpu_config_t;
extern      const cpu_config_t *CPU_config;
cpu_config_t* get_CPU_config                (void);

Description

This is the way to find out CPU internal configuration.

Details

struct cpu_config_t

typedef struct {
	gboolean stop_clock;	/* clock should be stoped when something
				   interesting happens */
	gboolean auto_fill_procs;	/* process properties should be
					   filled automaticly without any
					   user interaction */
	prop_io_params_t prop_io_params;   /* current parameters for processes
					      IO parameters autofilling */
	prop_mem_params_t prop_mem_params; /* current parametes for processes
					      Memory parametes autofilling */
	struct {			/* parameters related with the 
					   graphical representation of the 
					   subsystem */
		gint max_graph_history;	/* Maximun pixmap width for the
					   different representations */
		gint pix_size_step;
	} drawing;
} cpu_config_t;


CPU_config

extern const cpu_config_t *CPU_config;

This is a pointer to the configuration data, but should be used only for reading.


get_CPU_config ()

cpu_config_t* get_CPU_config                (void);

This is the right way to modify the configuration.

Returns : a writable pointer to the configuration data.