Rev | Line | |
---|
[1199] | 1 | # |
---|
| 2 | # Script to count number of iterations within verbose testing |
---|
| 3 | # |
---|
| 4 | # Original: J. Apostolakis, Nov 2003 |
---|
| 5 | # Comments: Dec 2006 (partial) |
---|
| 6 | # |
---|
| 7 | # |
---|
| 8 | grep G4Propa $* | \ |
---|
| 9 | awk 'BEGIN { over1c=0; over1k=0; n=0; maxit=0; } \ |
---|
| 10 | { it=$6; n++; sumit+=it; if(it>maxit){maxit=it;} } \ |
---|
| 11 | $6 > 100 { over1c++; } \ |
---|
| 12 | $6 > 1000 { over1k++; } \ |
---|
| 13 | $6 > 5000 { print; } \ |
---|
| 14 | END { print "Number over 50 iterations is ", n, "over hundred= ", over1c, "over 1000= ", over1k, "Max it", maxit, " sum large it=", sumit; } ' |
---|
Note: See
TracBrowser
for help on using the repository browser.