home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / windows / x / i386unix / 51 < prev    next >
Encoding:
Internet Message Format  |  1992-12-17  |  4.4 KB

  1. Xref: sparky comp.windows.x.i386unix:51 comp.unix.bsd:10331
  2. Newsgroups: comp.windows.x.i386unix,comp.unix.bsd
  3. Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!newsfeed.rice.edu!rice!news.Rice.edu!rich
  4. From: rich@Rice.edu (& Murphey)
  5. Subject: [386BSD, XFree86] xbench patches
  6. Message-ID: <RICH.92Dec17132406@superego.Rice.edu>
  7. Sender: news@rice.edu (News)
  8. Reply-To: Rich@rice.edu
  9. Organization: Department of Electrical and Computer Engineering, Rice
  10.     University
  11. Date: Thu, 17 Dec 1992 19:24:06 GMT
  12. Lines: 140
  13.  
  14.  
  15. Here are patches that make xbench generate postscript reports on
  16. 386bsd.  To generate the report invoke 'make print' after you have put
  17. your xbench output in results/*.out.  Rich
  18.  
  19.  
  20. *** /tmp/,RCSt1008443    Thu Dec 17 13:18:40 1992
  21. --- Imakefile    Thu Dec 17 13:13:46 1992
  22. ***************
  23. *** 5,11 ****
  24.    *
  25.    * the line below is for our local machine
  26.    */
  27. ! TROFF=troff -Tpsc -ms | psdit | psprint
  28.   /*
  29.    * to use nroff uncomment next line and comment prev. line
  30.    */
  31. --- 5,11 ----
  32.    *
  33.    * the line below is for our local machine
  34.    */
  35. ! TROFF=groff -Tps -C |lpr
  36.   /*
  37.    * to use nroff uncomment next line and comment prev. line
  38.    */
  39. *** /tmp/,RCSt1007610    Thu Dec 17 10:54:51 1992
  40. --- scripts/Make.proto    Thu Dec 17 10:34:53 1992
  41. ***************
  42. *** 26,32 ****
  43.       -sh ../scripts/insSep.sh < summary.sorted > summary.tbl
  44.   
  45.   summary.ms: link summary.tbl
  46. !     cat ../scripts/prefix.ms summary.tbl ../scripts/postfix.ms > summary.ms
  47.       -(if grep "(2)" summary.ms > /dev/null; then\
  48.           echo ".br" >> summary.ms; \
  49.           echo "(2) corrupted benchmark data file" >> summary.ms ; \
  50. --- 26,32 ----
  51.       -sh ../scripts/insSep.sh < summary.sorted > summary.tbl
  52.   
  53.   summary.ms: link summary.tbl
  54. !     -sh ../scripts/post.sh ../scripts/prefix.ms summary.tbl ../scripts/postfix.ms > summary.ms
  55.       -(if grep "(2)" summary.ms > /dev/null; then\
  56.           echo ".br" >> summary.ms; \
  57.           echo "(2) corrupted benchmark data file" >> summary.ms ; \
  58. ***************
  59. *** 36,40 ****
  60.   detail.ms:  link
  61.           -rm detail.ms
  62.           -(for i in *.out; do     \
  63. !         awk -f ../scripts/detail.awk < $$i >> detail.ms ; \
  64.             done)
  65. --- 36,40 ----
  66.   detail.ms:  link
  67.           -rm detail.ms
  68.           -(for i in *.out; do     \
  69. !         awk -f ../scripts/detail.awk < $$i | sh ../scripts/post.sh >> detail.ms ; \
  70.             done)
  71. *** /tmp/,RCSt1007610    Thu Dec 17 10:54:52 1992
  72. --- scripts/detail.awk    Thu Dec 17 10:29:19 1992
  73. ***************
  74. *** 257,265 ****
  75.                  print ".fi" ;
  76.                  print ".sp" ;
  77.                  print ".TS" ;
  78. !                print ".box, tab(!);"    ;
  79. !                print "l | c | c | c | c | r"
  80. !                print "l | r | r | r | r | r."
  81.                  print "test!10!100!400!!"
  82.                  print "="
  83.                  print "lines!" value["line10"] "!" value["line100"] "!" value["line400"] "!!lines/sec"
  84. --- 257,266 ----
  85.                  print ".fi" ;
  86.                  print ".sp" ;
  87.                  print ".TS" ;
  88. ! #               print ".box, tab(!);"    ;
  89. !                print "| l | c | c | c | c | r |"
  90. !                print "| l | r | r | r | r | r |."
  91. !                print "_"
  92.                  print "test!10!100!400!!"
  93.                  print "="
  94.                  print "lines!" value["line10"] "!" value["line100"] "!" value["line400"] "!!lines/sec"
  95. *** /tmp/,RCSt1007610    Thu Dec 17 10:54:52 1992
  96. --- scripts/insSep.sh    Thu Dec 17 10:44:33 1992
  97. ***************
  98. *** 6,14 ****
  99.   
  100.   read line
  101.   echo $line;
  102.   read line                  
  103.   while [ "$line" != "" ]; do       
  104. -    echo "_"                     
  105.      echo $line                  
  106.      read line                  
  107.   done
  108. --- 6,16 ----
  109.   
  110.   read line
  111.   echo $line;
  112. + echo "_"                     
  113.   read line                  
  114.   while [ "$line" != "" ]; do       
  115.      echo $line                  
  116. +    echo "_"                     
  117. +    line=
  118.      read line                  
  119.   done
  120. diff -c -r1.1 prefix.ms
  121. *** /tmp/,RCSt1007610    Thu Dec 17 10:54:52 1992
  122. --- scripts/prefix.ms    Thu Dec 17 10:30:31 1992
  123. ***************
  124. *** 55,62 ****
  125.   field are monochrome.
  126.   .sp
  127.   .TS
  128. ! .box, tab(!);
  129. ! l | c | c | c | c | c | c | c | c | c
  130. ! l | r | c | r | r | r | r | r | r | r.
  131.   machine!p!comm!line!fill!blt!text!arc!cmplx!xstones
  132.   =
  133. --- 55,62 ----
  134.   field are monochrome.
  135.   .sp
  136.   .TS
  137. ! | l | c | c | c | c | c | c | c | c | c |
  138. ! | l | r | c | r | r | r | r | r | r | r |.
  139. ! _
  140.   machine!p!comm!line!fill!blt!text!arc!cmplx!xstones
  141.   =
  142. *** /dev/null    Thu Dec 17 13:03:30 1992
  143. --- scripts/post.sh    Thu Dec 17 10:36:12 1992
  144. ***************
  145. *** 0 ****
  146. --- 1,7 ----
  147. + #!/bin/sh
  148. + #
  149. + # convert ! characters to tabs
  150. + #
  151. + sed -e 's/!/    /g' $*
  152.