1Following are examples of js_flowinfo.d.
2
3This is a simple script to trace the flow of JavaScript functions.  Here it
4traces the example program Code/JavaScript/func_clock.html
5
6# js_flowinfo.d
7  C    PID  DELTA(us)              FILE:LINE TYPE     -- FUNC
8  0  11651          2                 .:0    func     -> start
9  0  11651         75   func_clock.html:30   func       -> getElementById
10  0  11651         51   func_clock.html:-    func       <- getElementById
11  0  11651        479   func_clock.html:31   func       -> func_a
12  0  11651         25   func_clock.html:21   func         -> getElementById
13  0  11651         23   func_clock.html:-    func         <- getElementById
14  0  11651      30611   func_clock.html:25   func         -> func_b
15  0  11651         79   func_clock.html:13   func           -> getElementById
16  0  11651         51   func_clock.html:-    func           <- getElementById
17  0  11651      33922   func_clock.html:17   func           -> func_c
18  0  11651         75   func_clock.html:6    func             -> getElementById
19  0  11651         50   func_clock.html:-    func             <- getElementById
20  0  11651      50481   func_clock.html:-    func           <- func_c
21  0  11651         24   func_clock.html:-    func         <- func_b
22  0  11651         10   func_clock.html:-    func       <- func_a
23  0  11651         39   func_clock.html:32   func       -> setTimeout
24  0  11651        118   func_clock.html:-    func       <- setTimeout
25  0  11651         11   func_clock.html:-    func     <- start
26^C
27
28As each function is entered, the last column is indented by 2 spaces. This
29shows which function is calling which.
30
31The DELTA(us) column shows the change in time from the previous line to the
32current line.
33
34The FILE::LINE column shows which line in which file was being executed. Refer
35to the source program to see what this line refers to.
36
37If the output looks shuffled, check the CPU "C" column - if it changes,
38then the output is probably shuffled. See Notes/ALLsnoop_notes.txt for
39details and suggested workarounds.
40
41See Notes/ALLflow_notes.txt for important notes about reading flow outputs.
42
43