scale.test
Class GeomeanTime

java.lang.Object
  extended by scale.test.GeomeanTime

public class GeomeanTime
extends java.lang.Object

This class calculates the geometric mean of the ratio of execution times to a minimum time.

$Id: GeomeanTime.java,v 1.4 2007-10-04 19:58:39 burrill Exp $

Copyright 2008 by the Scale Compiler Group,
Department of Computer Science
University of Massachusetts,
Amherst MA. 01003, USA
All Rights Reserved.

This program processes a data file and outputs another data file. It acts as a filter and a combiner. Each line in the input file must be in the form:

   yymmdd  benchmark  time ignored-characters\n
 
where time is the number of seconds in floating point format and benchmark is the benchmark name. Only data from recognized benchmarks is used. The program recognizes 52 different benchmarks.

A table is formed with one unique row for each date and one column for the execution time of each benchmark.

The geometric mean is calculated for each date. Benchmarks whose minimum time is 0 are not used. Nor are times that are less than 10% of the benchmark's minimum time. The minimum time for each benchmark for dodo.cs.umass.edu and star.cs.umass.edu are provided as part of the program.

After the data is read in, the table formed, and the geometric mean calculated, the selected information is written to separate files whose names are the benchmark names. This output is meant to be used as input to a graphing tool. The form of the output is:

 yymmdd time\n
 


Constructor Summary
GeomeanTime()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeomeanTime

public GeomeanTime()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args - the command line arguments