home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / x / x11p-13.zip / RCS / getavg.sh,v < prev    next >
Text File  |  1989-10-23  |  621b  |  41 lines

  1. head     1.1;
  2. access   ;
  3. symbols  ;
  4. locks    ; strict;
  5. comment  @# @;
  6.  
  7.  
  8. 1.1
  9. date     89.10.23.18.51.16;  author joel;  state Exp;
  10. branches ;
  11. next     ;
  12.  
  13.  
  14. desc
  15. @Shells for comparing x11perf outputs
  16. @
  17.  
  18.  
  19.  
  20. 1.1
  21. log
  22. @Initial revision
  23. @
  24. text
  25. @#! /bin/sh
  26. # Takes an output from x11perf and gets the averaged numbers for each
  27. # operation.  To compare this with other servers, you may want to
  28. # run getrate.sh and then paste the results of that with getlabel.sh
  29. # Mark Moraes, University of Toronto
  30. awk '$2 == "reps" || $2 == "trep" {
  31.     line = $0;
  32.     next;
  33.     }
  34.     NF == 0 && line != "" {
  35.     print line;
  36.     line="";
  37.     next;
  38.     }
  39. ' $1
  40. @
  41.