diff options
Diffstat (limited to 'Xmark')
-rw-r--r-- | Xmark | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -9,10 +9,10 @@ # # CHANGE HISTORY: # -# X11perfcompDR -- Creates a Digital Review compatible breakdown of +# X11perfcompDR -- Creates a Digital Review compatible breakdown of # x11perf v1.2 results as described in "Take Your Pick Of Graphics" -# by John Montgomery, Digital Review, May 7th, 1990, Page 44. -# 8/30/90 v1.0 program created by Lonnie Mandigo +# by John Montgomery, Digital Review, May 7th, 1990, Page 44. +# 8/30/90 v1.0 program created by Lonnie Mandigo # 1/18/91 Modification by Lonnie Mandigo # Fixed a bug to include UCIRC in data. # 2/5/91 Modification by Lonnie Mandigo @@ -21,7 +21,7 @@ # Minor aesethic cleanups and better error handling. # Lonnie Mandigo and Jason Levitt (jason@cs.utexas.edu) # 3/4/93 Converted to Xmark by Bob Kuseski -# to produce a single number representing the ratio between +# to produce a single number representing the ratio between # the xpc weighted averages of the output from x11perf Rev 1.3 # for the server under test and a SparcStation 1 # 3/10/93 Changed to produce THREE output numbers and added bounds @@ -43,7 +43,7 @@ # ############################################################ # Instructions: -# +# # Usage: Xmark datafile # # where: 'datafile' is created by running x11perf Rev 1.3 @@ -60,7 +60,7 @@ # Xmark summarizes the results relative to the data contained in # the datafile. Xmark writes to standard out, so if you want to # capture the output in a file, use: -# +# # Xmark datafile > output.comp # # The 'output.comp' contains THREE numbers: @@ -109,7 +109,7 @@ then echo "" fi fi - + DATA=$1 grep trep $DATA > temp.$$ @@ -596,7 +596,7 @@ EOS awk -f awkfile.$$ temp.$$ > rates.$$ rm -f awkfile.$$ # cleanup -# calculate the weighted average +# calculate the weighted average sumofweights=`grep sumof rates.$$ | awk -F: ' { print($2) }' - ` if [ "$sumofweights" != "4566.0" ] @@ -627,7 +627,7 @@ awk -F: ' printf("Weighted x11perf of %s server =%6.0f\n", name,WeightedAverage); printf("Weighted x11perf of SparcStation 1 server =%5.0f\n", SparcStation1); printf("Xmark =%8.4f\n", WeightedAverage/SparcStation1); - }' rates.$$ + }' rates.$$ rm -f temp.$$ rates.$$ awkfile.$$ # cleanup |