1 The following are examples of running the script tcl_ins.d
3 Here it traces as Code/Tcl/func_slow.tcl executes.
6 Tracing... Hit Ctrl-C to end.
9 16005 inst foreach_start4 1
10 16005 inst jumpTrue1 1
11 16005 inst lappendScalar1 1
14 16005 inst beginCatch4 2
19 16005 inst storeScalarStk 2
20 16005 inst foreach_step4 4
22 16005 inst loadArrayStk 5
24 16005 inst tryCvtToNumeric 8
25 16005 inst jumpFalse1 12
26 16005 inst loadScalarStk 13
29 16005 inst invokeStk1 53
31 16005 inst concat1 600000
32 16005 inst exprStk 600000
34 16005 inst storeScalar1 600016
35 16005 inst done 600021
36 16005 inst loadScalar1 1200020
37 16005 inst push1 4200193
39 It is showing the instructions called by Tcl as the program executes. The
40 larger counts toward the bottom of the display are from the looping construct
41 used in Code/Tcl/func_slow.tcl.
43 Tracing the instructions is quite low-level and slow the target application
44 considerably and would probably be used only as a last resort if you have no
45 other indication of why CPUs are busy.