File: linear.exp

package info (click to toggle)
systemtap 5.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 47,556 kB
  • sloc: cpp: 81,117; ansic: 54,933; xml: 49,795; exp: 43,595; sh: 11,526; python: 5,003; perl: 2,252; tcl: 1,312; makefile: 1,006; javascript: 149; lisp: 105; awk: 101; asm: 91; java: 70; sed: 16
file content (50 lines) | stat: -rw-r--r-- 2,291 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Test linear histogram

set test "linear"
set ::result_string {count=1600
sum=653400
min=0
max=1485
avg=408
variance=450768
value |-------------------------------------------------- count
    0 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@       177
   50 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@         170
  100 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                      117
  150 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@                     122
  200 |@@@@@@@@@@@@@@@@@@@@@@@                             94
  250 |@@@@@@@@@@@@@@@@@@@@@@@                             94
  300 |@@@@@@@@@@@@@@@@@@@                                 79
  350 |@@@@@@@@@@@@@@@@@@@                                 79
  400 |@@@@@@@@@@@@@@@@                                    65
  450 |@@@@@@@@@@@@@@@@                                    67
  500 |@@@@@@@@@@@@@                                       55
  550 |@@@@@@@@@@@@@                                       54
  600 |@@@@@@@@@@@@                                        51
  650 |@@@@@@@@@@@                                         45
  700 |@@@@@@@@@@                                          41
  750 |@@@@@@@@@@                                          40
  800 |@@@@@@@@                                            34
  850 |@@@@@@@@                                            33
  900 |@@@@@@@                                             31
  950 |@@@@@@                                              27
 1000 |@@@@@                                               23
 1050 |@@@@@@                                              24
 1100 |@@@@                                                19
 1150 |@@@@                                                18
 1200 |@@@                                                 12
 1250 |@@                                                   9
 1300 |@                                                    7
 1350 |@                                                    7
 1400 |                                                     3
 1450 |                                                     3
 1500 |                                                     0
}

foreach runtime [get_runtime_list] {
    if {$runtime != ""} {
	stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime
    } else {
	stap_run2 $srcdir/$subdir/$test.stp
    }
}