| 61 | |
| 62 | Time evolution of statistic variables can be reported and viewed graphically. To start reporting a variable right-click on the variable under statistics menu and select "Start Reporting". A window will appear like this: |
| 63 | |
| 64 | [[Image(report.png, 60%)]] |
| 65 | |
| 66 | You have two options to select: |
| 67 | * Period: Selects how often data is reported and saved in the report log file. |
| 68 | * Window: Selects the number of samples to capture each report. |
| 69 | |
| 70 | Now you can add another variable to the same graph (it will use the same report and window options) by dragging a variable to the graphics area. |
| 71 | |
| 72 | To see a histogram of the captured values. Right-click on the grey part of the right screen and select '''Histogram'''. The screen will become like this: |
| 73 | |
| 74 | [[Image(histogram.png,60%)]] |
| 75 | |
| 76 | You can select the number of bins of the histogram as well as the intervals to draw. In addition, you can choose to accumulate data on time or discard it when a new report is received. |
| 77 | |
| 78 | There are two fixed variables for every component in ALOE reporting the CPU usage. They are: |
| 79 | * SYS_CPU: Consumed CPU time on every time slot. |
| 80 | * SYS_REL: Time the module relinquishes the CPU on every time slot. |
| 81 | |
| 82 | In addition, those modules using the module.c/module_imp.c skeleton will automatically have another variable: |
| 83 | * PROC: Consumed CPU in the processing function. This variable measures the time consumed in data processing, not counting the time spent in sending/receiving data or other overhead. This data is useful to measure exact ALOE's overhead. |
| 88 | Execution information can bee seen in two forms: |
| 89 | * Numeric table |
| 90 | * Graphic Diagram |
| 91 | |
| 92 | To see the information in numerical format, right click on a loaded waveform and select '''RT Info'''. It will show a screen like this: |
| 93 | |
| 94 | [[Image(rtinfo.png, 60%)]] |
| 95 | |
| 96 | Where you can see the used CPU, maximum used CPU, mean/variance of the execution time relation and the time the process relinquished the CPU. |
| 97 | |
| 98 | If you prefer to see the measurements graphically, select '''RT Diagram''' after right clicking. This will show a grant diagram of the scheduling of the execution of processes on every time-slot. Each row represents a different processor (or core). Note that as the execution position is constant in time, the diagram is also constant for every time-slot (except for small variations on the execution time. |
| 99 | |
| 100 | [[Image(rtdiagram.png, 60%)]] |