Debian Codegraph @

doc/SystemTap_Beginners_Guide/testsuite/systemtap.maps/linear.exp

raw
1 # Test linear histogram
2
3 set test "linear"
4 set ::result_string {count=1600
5 sum=653400
6 min=0
7 max=1485
8 avg=408
9 variance=450768
10 value |-------------------------------------------------- count
11 0 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 177
12 50 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 170
13 100 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 117
14 150 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 122
15 200 |@@@@@@@@@@@@@@@@@@@@@@@ 94
16 250 |@@@@@@@@@@@@@@@@@@@@@@@ 94
17 300 |@@@@@@@@@@@@@@@@@@@ 79
18 350 |@@@@@@@@@@@@@@@@@@@ 79
19 400 |@@@@@@@@@@@@@@@@ 65
20 450 |@@@@@@@@@@@@@@@@ 67
21 500 |@@@@@@@@@@@@@ 55
22 550 |@@@@@@@@@@@@@ 54
23 600 |@@@@@@@@@@@@ 51
24 650 |@@@@@@@@@@@ 45
25 700 |@@@@@@@@@@ 41
26 750 |@@@@@@@@@@ 40
27 800 |@@@@@@@@ 34
28 850 |@@@@@@@@ 33
29 900 |@@@@@@@ 31
30 950 |@@@@@@ 27
31 1000 |@@@@@ 23
32 1050 |@@@@@@ 24
33 1100 |@@@@ 19
34 1150 |@@@@ 18
35 1200 |@@@ 12
36 1250 |@@ 9
37 1300 |@ 7
38 1350 |@ 7
39 1400 | 3
40 1450 | 3
41 1500 | 0
42 }
43
44 foreach runtime [get_runtime_list] {
45 if {$runtime != ""} {
46 stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime
47 } else {
48 stap_run2 $srcdir/$subdir/$test.stp
49 }
50 }