| 1 |
# Test linear histogram over and underflow |
| 2 |
|
| 3 |
set test "linear_overunder" |
| 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 |
<250 |@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ 680 |
| 12 |
250 |@@@@@@ 94 |
| 13 |
300 |@@@@@ 79 |
| 14 |
350 |@@@@@ 79 |
| 15 |
400 |@@@@ 65 |
| 16 |
450 |@@@@ 67 |
| 17 |
500 |@@@ 55 |
| 18 |
550 |@@@ 54 |
| 19 |
600 |@@@ 51 |
| 20 |
650 |@@@ 45 |
| 21 |
700 |@@ 41 |
| 22 |
750 |@@ 40 |
| 23 |
800 |@@ 34 |
| 24 |
850 |@@ 33 |
| 25 |
900 |@@ 31 |
| 26 |
950 |@ 27 |
| 27 |
1000 |@ 23 |
| 28 |
>1000 |@@@@@@@ 102 |
| 29 |
} |
| 30 |
|
| 31 |
foreach runtime [get_runtime_list] { |
| 32 |
if {$runtime != ""} { |
| 33 |
stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime |
| 34 |
} else { |
| 35 |
stap_run2 $srcdir/$subdir/$test.stp |
| 36 |
} |
| 37 |
} |