| 1 |
# Test nearly empty linear histogram |
| 2 |
|
| 3 |
set test "linear_nearlyempty" |
| 4 |
set ::result_string {count=2 |
| 5 |
sum=1443 |
| 6 |
min=444 |
| 7 |
max=999 |
| 8 |
avg=721 |
| 9 |
variance=154012 |
| 10 |
value |-------------------------------------------------- count |
| 11 |
300 | 0 |
| 12 |
350 | 0 |
| 13 |
400 |@ 1 |
| 14 |
450 | 0 |
| 15 |
500 | 0 |
| 16 |
~ |
| 17 |
850 | 0 |
| 18 |
900 | 0 |
| 19 |
950 |@ 1 |
| 20 |
1000 | 0 |
| 21 |
1050 | 0 |
| 22 |
} |
| 23 |
|
| 24 |
foreach runtime [get_runtime_list] { |
| 25 |
if {$runtime != ""} { |
| 26 |
stap_run2 $srcdir/$subdir/$test.stp --runtime=$runtime |
| 27 |
} else { |
| 28 |
stap_run2 $srcdir/$subdir/$test.stp |
| 29 |
} |
| 30 |
} |