root/hiersort/scripts/g-old.bat

Revision 1, 1.6 kB (checked in by thesz, 3 years ago)

Initial commit

  • Property svn:executable set to *
Line 
1 @REM A script to gather statistics from log file.
2 @REM Should be rewritten in Tcl or shell in future.
3 @REM
4 @echo off
5 echo parameters
6 head -n 1 asd
7 echo total clock ticks
8 tail -1 asd
9 echo clock first token sent
10 tclsh detfirst.tcl asd
11 echo total processor clock ticks
12 grep -c "Processor" asd
13 echo blocked processor ticks and idle processor ticks
14 grep -c "processor is blocked" asd
15 grep -c "processor is idle" asd
16 echo max length of FIFO bag
17 grep "maxql:" asd | tail -1 -
18 echo work ticks for all presorters
19 grep -c "presorter --" asd
20 echo work ticks presorters are blocked.
21 grep -c "presorter rtr: False" asd
22 rem echo work ticks for node's presorters
23 rem grep -A 12 "Node [0-9]*\.\.[0-9]*" asd | grep -c "presorter rtr:" -
24 rem echo work ticks node's presorters are blocked.
25 rem grep -A 12 "Node [0-9]*\.\.[0-9]*" asd | grep -c "presorter rtr: False" -
26 rem echo Total tokens sent and tokens sent at distances 0..16
27 rem grep -c "tripDist: Just" asd
28 rem grep -c "tripDist: Just 0" asd
29 rem grep -c "tripDist: Just 1" asd
30 rem grep -c "tripDist: Just 2" asd
31 rem grep -c "tripDist: Just 3" asd
32 rem grep -c "tripDist: Just 4" asd
33 rem grep -c "tripDist: Just 5" asd
34 rem grep -c "tripDist: Just 6" asd
35 rem grep -c "tripDist: Just 7" asd
36 rem grep -c "tripDist: Just 8" asd
37 rem grep -c "tripDist: Just 9" asd
38 rem grep -c "tripDist: Just 10" asd
39 rem grep -c "tripDist: Just 11" asd
40 rem grep -c "tripDist: Just 12" asd
41 rem grep -c "tripDist: Just 13" asd
42 rem grep -c "tripDist: Just 14" asd
43 rem grep -c "tripDist: Just 15" asd
44 rem grep -c "tripDist: Just 16" asd
Note: See TracBrowser for help on using the browser.