User guide

8 CHAPTER 1. THE SYSTEM OVERVIEW
There is a benchmark program cal l ed bench100.b which can be compiled and
run as follows.
0.000 1> c bc bench100
bcpl com/bench100.b to cin/bench100 hdrs POSHDRS
BCPL (20 Oct 2009)
Code size = 1444 bytes
0.040 1> bench100
bench mark starting, Count=1000000
starting
finished
qpkt count = 2326410 holdcount = 930563
these results are correct
end of run
9.170 1>
The latest pr om p t (9.170 1>) indicates that the benchmark program took 9.17
seconds to run and that we are connected to the root command language i nter-
preter runn i n g as task on e.
When Cintpos starts these are six resident tasks which can be seen using the
status command as follows.
0.000 1> status
Task 1: Root_Cli running CLI Loaded command: status
Task 2: Debug_Task waiting DEBUG
Task 3: Console_Handler waiting COHAND
Task 4: File_Handler waiting FH0
Task 5: MBX_Handler waiting MBXHAND
Task 6: TCP_Handler waiting TCPHAND
0.010 1>
Task 2 is an interactive debugging aid, task 3 handles communication between
tasks and the keyboard and display devices, task 4 handles communication be-
tween tasks and the filing system, task 5 provides a mailbox facility that allows
communication of short text messages between tasks and, finally, task 6 handles
TCP/IP communication between tasks and the internet.
Tasks may be dynamically created and destoyed. For instance, the run com-
mand will create a n ew CLI task gi vi ng it a command to run.
0.010 1> run status
0.000 1> Task 1: Root_Cli waiting CLI No command loaded
Task 2: Debug_Task waiting DEBUG
Task 3: Console_Handler waiting COHAND
Task 4: File_Handler waiting FH0
Task 5: MBX_Handler waiting MBXHAND
Task 6: TCP_Handler waiting TCPHAND
Task 7: Run_Cli running CLI Loaded command: status