Utility functions - Visualization¶
Overview¶
RTFP includes utlities to translate the contents of output buffers of each core as well as the contents of shared memory. This is done to conform the user output from Parallella with the content of the Amalthea model used to construct the system.
Output¶
As in the provided examples, all outputs from the host code running on parallella board is being printed into stderr buffer. RTFP provides a view utilies to print shared and distributed shared memory values and indicate value changes.
The following sections will outline those functions and their usage.
Output table legend¶
user_config_print_legend(LabelVisual core_config,unsigned array[])
Arguments:
- core_config : row and column and number of visible labels for the core to be visualized.
- array : indices of visible labels.
user_config_print_legend_auto(unsigned array_length,unsigned array[]);
Arguments:
- array_length : number of visible labels for the shared memory section to be visualized.
- array : indices of visible labels.
Output table values¶
user_config_print_values(LabelVisual core_config,unsigned array[],unsigned int values_array[],unsigned int prv_val_array[])
Arguments:
- core_config : row and column and number of visible labels for the core to be visualized.
- array : indices of visible labels.
- values_array : holds values of all labels in a shared memory section.