Specifications
Changing and Viewing the Load
Debugging Program Behavior
5-13
7) Right-click on the Execution Graph and choose Clear from the pop-up
menu. Notice that the program still meets its real-time deadline. There are
10 time marks between each execution of the processing_SWI function.
8) Using the GEL control, change the load to
200
and click Execute.
9) Right-click on the Execution Graph and choose Clear from the pop-up
menu. One or two of the time marks occur while the processing_SWI
function is executing. Does this mean the program is missing its real-time
deadline? No, it shows that the program is functioning correctly. The
hardware interrupt that runs the CLK object functions can interrupt the
software interrupt processing, and the software interrupt still completes
its work before it needs to run again.
10) Using the GEL control, change
the load to
1250
and click
Execute. The CPU load
increases to about 95% and the
Execution Graph and CPU load
are updated less frequently.
11) Right-click on the Execution
Graph and choose Clear from
the pop-up menu. The program
still meets its real-time deadline
because processing_SWI completes before 10 time marks have
occurred.